diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-03-29 13:09:05 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-03-29 13:09:05 +0200 |
commit | 0c127b8c425555f9aeee425c3fa390dba677831c (patch) | |
tree | 72f06c1c6ab0d19a0ec3d6aa84e51d25dfd98c35 /nginx.sh | |
parent | 7a42993610fe5d828119d09cbbe2bbf527071b11 (diff) |
Nginx fix: ENV variable
Diffstat (limited to 'nginx.sh')
-rwxr-xr-x | nginx.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -18,7 +18,6 @@ fi source ./config.sh - echo "This installs Nginx." echo "Press <Return> to continue, or <Ctrl+C> to abort." read @@ -31,8 +30,8 @@ if [ ! -d "$NGINX_DEST" ]; then echo "Install directory '$NGINX_DEST' is not available! Aborting..." exit 1 else - if ! rmdir "$KL_DEST" >/dev/null 2>&1; then # if not empty this will fail - echo "Install directory '$KL_DEST' is not empty. Skipping kernlab installation..." + if ! rmdir "$NGINX_DEST" >/dev/null 2>&1; then # if not empty this will fail + echo "Install directory '$NGINX_DEST' is not empty. Skipping kernlab installation..." NGINX_DONE=true fi fi |