From 1cda146fa2b53f1b7480a7e039171d38b3007f7b Mon Sep 17 00:00:00 2001 From: 12nick12 Date: Sun, 12 Jan 2020 14:59:56 -0500 Subject: [PATCH] Update deploy.sh --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 87fe0b4..ed9e45c 100644 --- a/deploy.sh +++ b/deploy.sh @@ -22,7 +22,7 @@ read -p "If SSL type ssl otherwise don't: " siteProtoIn read -p "Enter Site URL: " siteURL read -p "Enter WPAdmin email: " adminEmail -if [[ siteProtoIn == "ssl" ]]; then +if [[ $siteProtoIn == "ssl" ]]; then siteProto="https://" ssl=1 fi @@ -221,7 +221,7 @@ nginx-conf ln -s ${siteFile} /etc/nginx/sites-enabled/ nginx -t read -p "Would you like to reload nginx to take new changes?: [y/n]" yy -if [ yy == "y" ]; then +if [ $yy == "y" ]; then echo "reloading nginx" systemctl reload nginx fi