Skip to content

Commit

Permalink
letsencrypt: fix workaround for old images
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Oct 7, 2017
1 parent dcbafb2 commit a5ce511
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a5ce511

Please sign in to comment.