From 522b80b33f3d775a3ecd5abb8ad8bf8a04906ece Mon Sep 17 00:00:00 2001 From: qubenix Date: Thu, 6 Dec 2018 03:59:37 +0000 Subject: add `--retry 5` to curl opts in install_db4.sh --- contrib/install_db4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/install_db4.sh b/contrib/install_db4.sh index 4f74e67f2f..e90b8af7e1 100755 --- a/contrib/install_db4.sh +++ b/contrib/install_db4.sh @@ -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 -- cgit v1.2.3