From 5a9fa2882534e8bf03c9614bb0e8467c7b35c131 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 22 Apr 2020 14:17:04 +0200 Subject: [PATCH] Update 'installer.sh' --- installer.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/installer.sh b/installer.sh index 87d18de..245a3cb 100644 --- a/installer.sh +++ b/installer.sh @@ -35,7 +35,8 @@ TestMode=0 #PackageManager-config PKGA="add-apt-repository" PKGI="${PKGM} install -y" - +#disable option menu +OptMenu=D ##-------------## # Test-Vars # @@ -255,7 +256,8 @@ done ##----------## # Addons # ##----------## - +##DisableOPtionMenu +if [ $OptMenu = D ]; then if [ $IMODE = n ]; then option=$(whiptail --nocancel --title "Additional modules" --checklist "Features" 11 110 5 "${options[@]}" 3>&1 1>&2 2>&3) fi @@ -302,7 +304,8 @@ done done option="${option%"${option##*[![:space:]]}"}" fi - +##DisableOPtionMenu +fi #saving selected modules echo 'SelectedOptions=('$option')' > /etc/ICTM/selopts.list