Minor
+ Fix indentation + Stick with case, add "On" to provide INFO print out, although its not technically required as INSTALL_WEB_SERVER=true is default value.
This commit is contained in:
@ -976,6 +976,11 @@ setAdminFlag() {
|
|||||||
WebChoices=$("${WebToggleCommand[@]}" "${WebChooseOptions[@]}" 2>&1 >/dev/tty) || (echo -e " ${COL_LIGHT_RED}Cancel was selected, exiting installer${COL_NC}" && exit 1)
|
WebChoices=$("${WebToggleCommand[@]}" "${WebChooseOptions[@]}" 2>&1 >/dev/tty) || (echo -e " ${COL_LIGHT_RED}Cancel was selected, exiting installer${COL_NC}" && exit 1)
|
||||||
# Depending on their choice
|
# Depending on their choice
|
||||||
case ${WebChoices} in
|
case ${WebChoices} in
|
||||||
|
"On (Recommended)")
|
||||||
|
echo -e " ${INFO} Web Server On"
|
||||||
|
# set it to true, as clearly seen below.
|
||||||
|
INSTALL_WEB_SERVER=true
|
||||||
|
;;
|
||||||
Off)
|
Off)
|
||||||
echo -e " ${INFO} Web Server Off"
|
echo -e " ${INFO} Web Server Off"
|
||||||
# or false
|
# or false
|
||||||
|
Reference in New Issue
Block a user