From 3ca32c6b64bb1e0e72eb5000c26dc7d747eccba0 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 4 Aug 2020 21:16:48 +0530 Subject: [PATCH] Switch to exponential-backoff in cURL --- src/scripts/darwin.sh | 2 +- src/scripts/linux.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index e95fb321..686f0a8f 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -241,7 +241,7 @@ version=$1 nodot_version=${1/./} old_versions="5.[3-5]" tool_path_dir="/usr/local/bin" -curl_opts=(-sSL --retry 5 --retry-delay 1) +curl_opts=(-sSL --retry 5) existing_version=$(php-config --version 2>/dev/null | cut -c 1-3) read_env diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index f12e06dc..a11c1e82 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -398,7 +398,7 @@ debconf_fix="DEBIAN_FRONTEND=noninteractive" github="https://github.com/shivammathur" apt_install="sudo $debconf_fix apt-fast install -y" tool_path_dir="/usr/local/bin" -curl_opts=(-sSL --retry 5 --retry-delay 1) +curl_opts=(-sSL --retry 5) existing_version=$(php-config --version 2>/dev/null | cut -c 1-3) read_env