Ensure that the backports version of certbot is installed
This commit is contained in:
parent
944ca13f2c
commit
1af6a5904f
|
@ -218,7 +218,7 @@ function add_cert_letsencrypt {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /usr/bin/certbot ]; then
|
if [ ! -f /usr/bin/certbot ]; then
|
||||||
apt-get -yq install certbot
|
apt-get -yq -t stretch-backports install certbot
|
||||||
groupadd ssl-cert
|
groupadd ssl-cert
|
||||||
if [ ! -f /usr/bin/certbot ]; then
|
if [ ! -f /usr/bin/certbot ]; then
|
||||||
echo $'LetsEncrypt certbot failed to install'
|
echo $'LetsEncrypt certbot failed to install'
|
||||||
|
|
|
@ -93,6 +93,7 @@ if [ -d $PROJECT_DIR ]; then
|
||||||
exit 453536
|
exit 453536
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt-get -yq -t stretch-backports install certbot
|
||||||
email_install_tls
|
email_install_tls
|
||||||
defrag_filesystem
|
defrag_filesystem
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue