mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
letsencrypt: fix workaround for old images
This commit is contained in:
parent
dcbafb292f
commit
a5ce511469
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user