Commit Graph

4 Commits

Author SHA1 Message Date
Leonid Pliushch
5ddf251200 build-package.sh: retry if downloading of Release{,.gpg} failed when fast-build mode is on
Release or Release.gpg files may be absent if a new .deb file was uploaded
to apt repository recently. We may need to do a multiple attempts in a loop
to retry downloading of these files.

Needed after 99e9ab67b634a89d0be9eca12c4f1cdc091ee6e8, where I have disabled
looping in termux_download but curl doesn't do retries on 404 error. We
want immediate failure only for 404's on source and build tool URLs.
2020-08-21 15:46:41 +03:00
Leonid Pliushch
425594ca56 build-package.sh: double the amount of curl download retries 2020-07-28 00:20:33 +03:00
Leonid Pliushch
8ecb74b324 termux_download.sh: simplify curl download error handling
Use curl built-in download retry mechanizm instead implementing
such in shell loop.
2020-07-24 15:16:10 +03:00
Henrik Grimler
a927332bd9 build-package: mv termux_download to scripts/build/ 2019-02-27 21:59:08 +02:00