From c99ab90c58d77b0be680461eb22d23725c686e1f Mon Sep 17 00:00:00 2001 From: bprieshof Date: Thu, 11 Jul 2019 11:51:40 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/installer.sh b/installer.sh index f4d59e7..47d40b4 100644 --- a/installer.sh +++ b/installer.sh @@ -94,9 +94,30 @@ fi if [ $webserv = n ]; then - - - + while true; do + read -p "Brotli Precompression > yes/no?" yn + case $yn in + [Yy]* ) brotlinginx=1 + break;; + [Nn]* ) brotlinginx=0 + break;; + * ) 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 while true; do read -p "Password login uit zetten -> yes/no?" yn