Browse Source

fix install.sh first read

Bachir Soussi Chiadmi 5 years ago
parent
commit
1376de6848
1 changed files with 2 additions and 2 deletions
  1. 2 2
      install.sh

+ 2 - 2
install.sh

@@ -11,10 +11,10 @@ echo -e "\033[35;1mThis script has been tested only on Alpine Linux \033[0m"
 
 . bin/checkroot.sh
 
-echo -n "Should we start? [Y|n] "
+echo -n "Should we start? [y|n] "
 read yn
 yn=${yn:-y}
-if [ "$yn" != "y" ]; then
+if [ "$yn" != "y" ] && [ "$yn" != "Y" ]; then
   echo -e "aborting script!"
   exit
 fi