From e3023e8ed577d389f40974c553e9273cb044eedf Mon Sep 17 00:00:00 2001 From: mj Date: Tue, 27 Oct 2015 01:04:23 +0100 Subject: [PATCH] [FIX] install.sh: DON'T ALWAYS INSTALL fi --- tools/install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index f645221..18a04ba 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -12,10 +12,12 @@ set -e -if [ ! -n "$DONTINSTALL" ] || [ ! "$DONTINSTALL" eq "0" ]; then - echo "~~~ INSTALLING ~~~" - +if [ ! -n "$DONTINSTALL" ]; then DONTINSTALL="1" +fi + +if [ "$DONTINSTALL" eq "0" ]; then + echo "~~~ INSTALLING ~~~" if [ -d /proc/vz ] && [ ! -d /proc/vz/beancounter ]; then apt-get -yq install curl dialog git nano screen zsh -- 2.0.0