From a905d059ca5a467f8cef4f5bfac05fca72ca5ce7 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 24 Jan 2020 21:41:49 +0100 Subject: [PATCH] update the way results are handled --- nextcloud_install_production.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 3e699f5f..552e4e2d 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -678,7 +678,8 @@ whiptail --title "Install apps or software" --checklist --separate-output "Autom "Group-Folders" " " on \ "Webmin" " " on 2>results -while read -r -u 9 choice +choice=$(< results) + case "$choice" in choice do case "$choice" in Calendar) @@ -722,7 +723,6 @@ do *) ;; esac -done 11< results rm -f results # Get needed scripts for first bootup