Fixed menu list for append scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user