fix install.sh first read

This commit is contained in:
2019-04-18 23:21:20 +02:00
parent 8f5eac44bb
commit 609d5e9c8e
+2 -2
View File
@@ -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