From 5cc9705ee8287e2e64cb5694b862cb2043731b3f Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Tue, 21 Feb 2017 21:38:30 +0100 Subject: [PATCH] fix in installer --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a3c59da..c5f788c 100644 --- a/install.sh +++ b/install.sh @@ -40,7 +40,6 @@ echo "Caution, script does not install a webserver with PHP and MySQL" echo "So you have to make up manually if you want to use MySQL support" boswatchpath=/opt/boswatch -mkdir -p $boswatchpath reboot=false for (( i=1; i<=$#; i=$i+2 )); do @@ -59,12 +58,13 @@ for (( i=1; i<=$#; i=$i+2 )); do esac ;; case $arg in - -p|--path) echo " !!! WARNING: you install BOSWATCH to alternatove path !!! "; boswatchpath=$arg2 ;; + -p|--path) echo " !!! WARNING: you install BOSWATCH to alternative path !!! "; boswatchpath=$arg2 ;; *) echo "Internal error!" ; exit 1 ;; esac done +mkdir -p $boswatchpath mkdir -p $boswatchpath/install echo ""