From 4c1f6be6fc0d6e73c93b9f6f6672de933c313545 Mon Sep 17 00:00:00 2001 From: bohung Date: Sat, 24 Sep 2022 11:31:26 +0800 Subject: [PATCH] Fix bug. --- install_certbot.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_certbot.sh b/install_certbot.sh index 9ad11c0..ac896a7 100644 --- a/install_certbot.sh +++ b/install_certbot.sh @@ -56,6 +56,7 @@ if [ -z $certbot_path ]; then sudo -p 'sudo password:' rm -f /usr/bin/certbot sudo -p 'sudo password:' ln -s /opt/certbot/bin/certbot /usr/bin/certbot sudo -p 'sudo password:' certbot register --email bohung@rulingcom.com --agree-tos -n + sudo -p 'sudo password:' certbot --nginx -n 2>/dev/null || true echo "Finish install certbot!" certbot_path="/usr/bin/certbot" else @@ -73,6 +74,7 @@ if [ -z $certbot_path ]; then sudo -p 'sudo password:' snap install --classic certbot sudo -p 'sudo password:' ln -s /snap/bin/certbot /usr/bin/certbot sudo -p 'sudo password:' certbot register --email bohung@rulingcom.com --agree-tos -n + sudo -p 'sudo password:' certbot --nginx -n 2>/dev/null || true echo "Finish install certbot!" certbot_path="/usr/bin/certbot" else