From f1957958007b8800ced4ded76c7cadffd8544cb0 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Wed, 6 Nov 2024 19:11:06 +0100 Subject: [PATCH 1/2] Use `--silent` instead of `--no-progress-meter` for old `curl` --- install/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install.sh b/install/install.sh index 16e1404cd..56a496892 100644 --- a/install/install.sh +++ b/install/install.sh @@ -61,10 +61,10 @@ trap cleanup EXIT # Test if stdout is a terminal before showing progress if [[ ! -t 1 ]]; then - CURL_OPTIONS="--no-progress-meter" + CURL_OPTIONS="--silent" # --no-progress-bar is better, but only available in 7.67+ WGET_OPTIONS="--no-verbose" else - CURL_OPTIONS="--progress-bar" + CURL_OPTIONS="--no-silent" WGET_OPTIONS="--show-progress" fi From 332c2bf53caf9cb3c1f80c15db582e82f1606674 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Wed, 6 Nov 2024 19:12:10 +0100 Subject: [PATCH 2/2] Update install.sh --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/install.sh b/install/install.sh index 56a496892..f335ffb67 100644 --- a/install/install.sh +++ b/install/install.sh @@ -61,7 +61,7 @@ trap cleanup EXIT # Test if stdout is a terminal before showing progress if [[ ! -t 1 ]]; then - CURL_OPTIONS="--silent" # --no-progress-bar is better, but only available in 7.67+ + CURL_OPTIONS="--silent" # --no-progress-meter is better, but only available in 7.67+ WGET_OPTIONS="--no-verbose" else CURL_OPTIONS="--no-silent"