Commit e3023e8ed577d389f40974c553e9273cb044eedf
1 parent
3da235b0e3
Exists in
master
and in
1 other branch
[FIX] install.sh: DON'T ALWAYS INSTALL
fi
Showing 1 changed file with 5 additions and 3 deletions Side-by-side Diff
tools/install.sh
... | ... | @@ -12,10 +12,12 @@ |
12 | 12 | |
13 | 13 | set -e |
14 | 14 | |
15 | -if [ ! -n "$DONTINSTALL" ] || [ ! "$DONTINSTALL" eq "0" ]; then | |
16 | - echo "~~~ INSTALLING ~~~" | |
17 | - | |
15 | +if [ ! -n "$DONTINSTALL" ]; then | |
18 | 16 | DONTINSTALL="1" |
17 | +fi | |
18 | + | |
19 | +if [ "$DONTINSTALL" eq "0" ]; then | |
20 | + echo "~~~ INSTALLING ~~~" | |
19 | 21 | |
20 | 22 | if [ -d /proc/vz ] && [ ! -d /proc/vz/beancounter ]; then |
21 | 23 | apt-get -yq install curl dialog git nano screen zsh |