From 10b909024dfaa999aa4247a40ba16ed5fee025a2 Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Mon, 23 Oct 2023 18:28:36 -0600 Subject: [PATCH] Respect Selected Webserver Mode --- ehcp/install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ehcp/install.sh b/ehcp/install.sh index 87b090c..ea6bd22 100755 --- a/ehcp/install.sh +++ b/ehcp/install.sh @@ -272,17 +272,17 @@ installInitialPrereqs # Get parameters for varCheck in "$@" do - if [ "$varCheck" == "unattended" ]; then + if [ "$varCheck" == "unattended" ]; then preUnattended=1 - elif [ "$varCheck" == "debug" ]; then + elif [ "$varCheck" == "debug" ]; then debug="debug" - elif [ "$varCheck" == "extra" ]; then + elif [ "$varCheck" == "extra" ]; then installmode="extra" - elif [ "$varCheck" == "normal" ]; then + elif [ "$varCheck" == "normal" ]; then installmode="normal" elif [ "$varCheck" == "nginx" ]; then webserver="nginx" - fi + fi done if [ ! -z "$preUnattended" ]; then