diff --git a/setup.sh b/setup.sh index 95dd28a..d1b5dfb 100644 --- a/setup.sh +++ b/setup.sh @@ -67,8 +67,7 @@ case ${answer:0:1} in echo -e PiHole "${BOLDRED} NOT${ENDCOLOR} " installed ;; esac -if [ $WEBMIN != 0 ] -then +if [[ $WEBMIN != 0 ]];then echo -e "${ITALICGREEN}Stopping Webmin${ENDCOLOR}" ${SUDO} systemctl stop webmin ${SUDO} certbot certonly --standalone @@ -79,8 +78,7 @@ then else #echo No fi -if [ -d "/etc/lighttpd" ] -then +if [[ -d "/etc/lighttpd" ]];then read -p "Request let's encrypt certificate for lighttpd(y/n)" answer case ${answer:0:1} in y|Y )