From 4c536dbbe5c26a5c30156a61ebe4c18bf0f67683 Mon Sep 17 00:00:00 2001 From: bprieshof Date: Wed, 13 Feb 2019 12:57:04 +0100 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/installer.sh b/installer.sh index 05c63a4..70e4b80 100644 --- a/installer.sh +++ b/installer.sh @@ -79,8 +79,19 @@ if [ $webserv = n ]; then * ) echo "Kies yes of no.";; esac done + while true; do + read -p "Nextcloud Setup? > yes/no?" yn + case $yn in + [Yy]* ) nextcloud=1 + break;; + [Nn]* ) nextcloud=0 + break;; + * ) echo "Kies yes of no.";; + esac + done else brotlinginx=0 + nextcloud=0 fi