From 7c45a84d6955399370f27bc2be37cca7172e5456 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 7 Jan 2019 23:00:41 -0700 Subject: [PATCH] usingSSL changed to useSSL throughout for consistency --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index 39febe3..c254148 100755 --- a/setup.sh +++ b/setup.sh @@ -175,14 +175,14 @@ done ### SSL related options # enable SSL? while true; do - read -p "Do you want to enable SSL on this server? (default: Yes)" yn + read -p "Do you want to enable SSL on this server? (default: Yes) " yn case "${yn}" in [Yy]*|'') - usingSSL=1 + useSSL=1 break ;; [Nn]*) - usingSSL=0 + useSSL=0 break ;; [Xx]*) @@ -196,7 +196,7 @@ while true; do done # using certbot? -if [ "${usingSSL}" -eq 1 ]; then +if [ "${useSSL}" -eq 1 ]; then echo -e "\n${mag}If you are using Certbot, you only need to provide the primary domain name" echo "of your certificate and the script will auto-generate the paths NGINX needs to" echo "make everything work."