Selaa lähdekoodia

Ensure that the backports version of certbot is installed

Bob Mottram 7 vuotta sitten
vanhempi
commit
1af6a5904f
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-addcert
  2. 1
    0
      src/freedombone-upgrade

+ 1
- 1
src/freedombone-addcert Näytä tiedosto

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

+ 1
- 0
src/freedombone-upgrade Näytä tiedosto

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