Fixed menu list for append scripts

This commit is contained in:
2020-09-04 13:05:32 +02:00
parent 0e6c8e27aa
commit 52925d476a
2 changed files with 4 additions and 20 deletions

View File

@@ -15,16 +15,8 @@ rm /tmp/apt.list
source <(curl --retry 7 --retry-delay 5 -s "$repo"/raw/branch/"$branch"/ModulesMenu.list)
#Setting Menulist to webserver
if [[ $webserv = "apache" ]]; then
#Apache Menulist
CMSL=("${apacheCMSL[@]}")
options=("${apacheOptions[@]}")
fi
if [[ $webserv = "nginx" ]]; then
#Nginx Menulist
CMSL=("${nginxCMSL[@]}")
options=("${nginxOptions[@]}")
fi
declare -n CMSL="$webserv"CMSL
declare -n options="$webserv"Options
#Filtering already installed modules
for target in "${SelectedOptions[@]}"; do