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