Disabled apt recommended packages and enabled options menu

This commit is contained in:
Bram Prieshof
2020-05-01 12:09:48 +02:00
parent e54eeadaee
commit 3006586ab2

View File

@@ -31,9 +31,7 @@ sqlver=8.0
TestMode=0
#PackageManager-config
PKGA="add-apt-repository --no-update"
PKGI="${PKGM} install -y"
#disable option menu
OptMenu=D
PKGI="${PKGM} install -y --no-install-recommends"
##-------------##
# Test-Vars #
@@ -253,7 +251,6 @@ 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
@@ -300,8 +297,6 @@ done
done
option="${option%"${option##*[![:space:]]}"}"
fi
##DisableOPtionMenu
fi
#saving selected modules
echo 'SelectedOptions=('$option')' > /etc/ICTM/selopts.list