From c3860c4984a2445f1b74a362385325eee740d4bd Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 5 Mar 2020 13:50:03 +0100 Subject: [PATCH] Fixed "Always on option modules" --- installer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer.sh b/installer.sh index 3de43b8..3173776 100644 --- a/installer.sh +++ b/installer.sh @@ -282,13 +282,13 @@ done fi fi -option="${option,,}" +#Cleaning options from menu +option="${option,,}" && option="${option// /}" #Always on option modules option="$option /MySQL/" option="$option /Unattended-Security-Updates/" -#Var cleaning -option="${option// /}" && option="${option/:/ }" && option="${option//:}" && option="${option//'"'}" - +#Cleaning all options +option="${option/:/ }" && option="${option//:}" && option="${option//'"'}" echo "Generating apt list for Options" for val1 in ${option[*]}; do