From 43125f9f5e0d5f793b2f5244fc1c222db8ff164a Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Fri, 13 Mar 2026 16:40:53 +0100 Subject: [PATCH] feat: add progress bar to curl downloads in install script Replace silent curl commands with --progress-bar option to provide visual feedback during Go and OBITools4 downloads, improving user experience without changing download logic. --- install_obitools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_obitools.sh b/install_obitools.sh index ffb9652..3e05d1a 100755 --- a/install_obitools.sh +++ b/install_obitools.sh @@ -183,7 +183,7 @@ GOURL=$(curl -s "${URL}${GOFILE}" \ echo "Installing Go from: $GOURL" 1>&2 -curl -s "$GOURL" | tar zxf - +curl --progress-bar "$GOURL" | tar zxf - PATH="$(pwd)/go/bin:$PATH" export PATH @@ -198,7 +198,7 @@ mkdir -p "$GOCACHE" echo "Downloading OBITools4 v${VERSION}..." 1>&2 echo "Source URL: $OBIURL4" 1>&2 -if ! curl -sL "$OBIURL4" > obitools4.zip; then +if ! curl --progress-bar -L "$OBIURL4" > obitools4.zip; then echo "Error: Could not download OBITools4 version ${VERSION}" 1>&2 echo "Please check that this version exists with: $0 --list" 1>&2 exit 1