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
if [ ! -f /usr/bin/certbot ]; then
apt-get -yq install certbot
apt-get -yq -t stretch-backports install certbot
groupadd ssl-cert
if [ ! -f /usr/bin/certbot ]; then
echo $'LetsEncrypt certbot failed to install'

View File

@ -93,6 +93,7 @@ if [ -d $PROJECT_DIR ]; then
exit 453536
fi
apt-get -yq -t stretch-backports install certbot
email_install_tls
defrag_filesystem
fi