Fixed "Always on option modules"

This commit is contained in:
Bram Prieshof
2020-03-05 13:50:03 +01:00
parent 6b66542152
commit c3860c4984

View File

@@ -282,13 +282,13 @@ done
fi fi
fi fi
option="${option,,}" #Cleaning options from menu
option="${option,,}" && option="${option// /}"
#Always on option modules #Always on option modules
option="$option /MySQL/" option="$option /MySQL/"
option="$option /Unattended-Security-Updates/" option="$option /Unattended-Security-Updates/"
#Var cleaning #Cleaning all options
option="${option// /}" && option="${option/:/ }" && option="${option//:}" && option="${option//'"'}" option="${option/:/ }" && option="${option//:}" && option="${option//'"'}"
echo "Generating apt list for Options" echo "Generating apt list for Options"
for val1 in ${option[*]}; do for val1 in ${option[*]}; do