From 1f2d77047f198f6a5245a76ed1ba3270d2105f47 Mon Sep 17 00:00:00 2001 From: borekon Date: Mon, 14 Mar 2022 13:35:21 +0000 Subject: [PATCH] Actualizar 'setup.sh' Typo mistakes --- setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 )