Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-10-07 10:39:45 +0300
committernachoparker <nacho@ownyourbits.com>2017-10-07 10:39:45 +0300
commita5ce51146927aec47105549559fec74bf7cd1d4f (patch)
tree4413cd8a21750e6f66b229189c856d147cd9b61e
parentdcbafb292fe3d29add2efdfb44cca1212a926813 (diff)
letsencrypt: fix workaround for old imagesv0.31.13
-rwxr-xr-xupdate.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 9052a28d..d710c61c 100755
--- a/update.sh
+++ b/update.sh
@@ -248,8 +248,12 @@ EOF
}
# temporary workaround for bug https://github.com/certbot/certbot/issues/5138#issuecomment-333391771
+ cat > /etc/pip.conf <<EOF
+[global]
+extra-index-url=https://www.piwheels.hostedpi.com/simple
+extra-index-url=https://www.piwheels.hostedpi.com/simple/zope.components
+EOF
test -e /etc/pip.conf && grep -q zope /etc/pip.conf || {
- cat >> /etc/pip.conf <<<"extra-index-url=https://www.piwheels.hostedpi.com/simple/zope.components"
/etc/letsencrypt/letsencrypt-auto --help
}