Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes Let's Encrypt script. (#11430)

Дамян Минков037b9202a6d1
diff --git a/resources/install-letsencrypt-cert.sh b/resources/install-letsencrypt-cert.sh
index 306ae1fc32..a73b5ca7a1 100755
--- a/resources/install-letsencrypt-cert.sh
+++ b/resources/install-letsencrypt-cert.sh
@@ -23,7 +23,7 @@ echo "by providing an email address for important account notifications"
echo -n "Enter your email and press [ENTER]: "
read EMAIL
-CERTBOT="$(command -v certbot)"
+CERTBOT="$(command -v certbot || true)"
if [ ! -x "$CERTBOT" ] ; then
DISTRO=$(lsb_release -is)
DISTRO_VERSION=$(lsb_release -rs)
@@ -50,6 +50,8 @@ if [ ! -x "$CERTBOT" ] ; then
echo "Only Debian 9,10 and Ubuntu 18.04,19.10,20.04 are supported"
exit 1
fi
+
+ CERTBOT="$(command -v certbot)"
fi
CRON_FILE="/etc/cron.weekly/letsencrypt-renew"