add --retry 5 to curl opts in install_db4.sh

This commit is contained in:
qubenix 2018-12-06 03:59:37 +00:00
parent e2c473ff75
commit 522b80b33f
No known key found for this signature in database
GPG key ID: A95D4D197E922B20

View file

@ -51,7 +51,7 @@ http_get() {
if [ -f "${2}" ]; then
echo "File ${2} already exists; not downloading again"
elif check_exists curl; then
curl --insecure "${1}" -o "${2}"
curl --insecure --retry 5 "${1}" -o "${2}"
else
wget --no-check-certificate "${1}" -O "${2}"
fi