Workaround zsync http-only failures (#396)

* trying to keep up... re-generating

* revert README.md to upstream for noise-suppression

* regenerated Readme for 3.13

* Fix for zsync https failure
This commit is contained in:
Phil Clifford 2022-02-25 23:01:51 +00:00 committed by GitHub
parent fb771265f1
commit 03c5b9fc52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 26 deletions

View file

@ -625,8 +625,9 @@ function zsync_get() {
exit 1
fi
if ! zsync "${URL}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then
echo "ERROR! Failed to download ${URL}.zsync"
# Only force http for zsync - not earlier because we might fall through here
if ! zsync "${URL/https/http}.zsync" -i "${DIR}/${OUT}" -o "${DIR}/${OUT}" 2>/dev/null; then
echo "ERROR! Failed to download ${URL/https/http}.zsync"
exit 1
fi