scripts: Pass --retry 3 to curl.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-11-07 13:50:24 -08:00
committed by Tim Abbott
parent c2cbc57bc4
commit fc9f23a85f
11 changed files with 13 additions and 13 deletions

View File

@@ -26,8 +26,8 @@ if [[ ! -e /usr/share/doc/groonga-apt-source/copyright ]]; then
} <<<"$os_info"
groonga_apt_source_deb="groonga-apt-source-latest-$release.deb"
groonga_apt_source_deb_sign="$groonga_apt_source_deb.asc.$pgroonga_apt_sign_key_fingerprint"
curl -fLO "https://packages.groonga.org/$distribution/$groonga_apt_source_deb"
curl -fLO "https://packages.groonga.org/$distribution/$groonga_apt_source_deb_sign"
curl -fLO --retry 3 "https://packages.groonga.org/$distribution/$groonga_apt_source_deb"
curl -fLO --retry 3 "https://packages.groonga.org/$distribution/$groonga_apt_source_deb_sign"
gpg \
--homedir="$tmp_gpg_home" \
--verify \