Script:Compat fix for getting option list

Forceing "Normal install mode (Whiptail) "
since this script requires it.
For This sctipt only, since it was unable to get correct module list
This commit is contained in:
2021-02-26 12:51:12 +01:00
parent d85678e560
commit b15f8a33ed

View File

@@ -4,11 +4,13 @@ if [ ! -f "/etc/ICTM/selopts.list" ] || [ ! -f "/etc/ICTM/mainvar.list" ] ; then
source /etc/ICTM/selopts.list
source /etc/ICTM/mainvar.list
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/ModulesMenu.list)
#NewCompat var
IMODE="n"
CompatVer=2
#Getting module list
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/ModulesMenu.list)
#Setting Menulist to webserver
declare -n CMSL="$webserv"CMSL
declare -n options="$webserv"Options