Browse Source

Ensure that the backports version of certbot is installed

Bob Mottram 7 years ago
parent
commit
1af6a5904f
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      src/freedombone-addcert
  2. 1
    0
      src/freedombone-upgrade

+ 1
- 1
src/freedombone-addcert View File

218
     fi
218
     fi
219
 
219
 
220
     if [ ! -f /usr/bin/certbot ]; then
220
     if [ ! -f /usr/bin/certbot ]; then
221
-        apt-get -yq install certbot
221
+        apt-get -yq -t stretch-backports install certbot
222
         groupadd ssl-cert
222
         groupadd ssl-cert
223
         if [ ! -f /usr/bin/certbot ]; then
223
         if [ ! -f /usr/bin/certbot ]; then
224
             echo $'LetsEncrypt certbot failed to install'
224
             echo $'LetsEncrypt certbot failed to install'

+ 1
- 0
src/freedombone-upgrade View File

93
             exit 453536
93
             exit 453536
94
         fi
94
         fi
95
 
95
 
96
+        apt-get -yq -t stretch-backports install certbot
96
         email_install_tls
97
         email_install_tls
97
         defrag_filesystem
98
         defrag_filesystem
98
     fi
99
     fi