fix certbot repo for Focal

This commit is contained in:
Edi Septriyanto
2021-06-17 16:07:11 +07:00
parent b2ed5613ae
commit bf70648c15

View File

@@ -53,9 +53,16 @@ function init_certbotle_install() {
esac
;;
ubuntu)
run add-apt-repository -y ppa:certbot/certbot
run apt update -qq -y
run apt install -qq -y certbot
case "${RELEASE_NAME}" in
focal)
run apt install -qq -y certbot
;;
*)
run add-apt-repository -y ppa:certbot/certbot
run apt update -qq -y
run apt install -qq -y certbot
;;
esac
;;
esac