Ensure that the backports version of certbot is installed

This commit is contained in:
Bob Mottram 2017-11-24 13:31:55 +00:00
parent 944ca13f2c
commit 1af6a5904f
2 changed files with 2 additions and 1 deletions

View File

@ -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'

View File

@ -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