ソースを参照

Ensure that the backports version of certbot is installed

Bob Mottram 7 年 前
コミット
1af6a5904f
共有2 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 1
    1
      src/freedombone-addcert
  2. 1
    0
      src/freedombone-upgrade

+ 1
- 1
src/freedombone-addcert ファイルの表示

@@ -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 ファイルの表示

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