Skip to content

Commit 0d43c72

Browse files
ralyodioclaude
andauthored
fix(install): show the download progress bar (curl -s was hiding it) (#62)
curl --silent also suppresses --progress-bar, so the 190 MB desktop download printed nothing and looked hung during diskpush update; users Ctrl+C'd it. -S keeps error messages. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 69d4c68 commit 0d43c72

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎scripts/install.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ esac
5151

5252
if command -v curl >/dev/null 2>&1; then
5353
fetch() { curl -fsSL "$1"; }
54-
download(){ curl -fsSL --progress-bar -o "$2" "$1"; }
54+
# Not -s: curl's --silent also hides --progress-bar, and a 190 MB desktop download
55+
# with no output looks hung (people Ctrl+C it). -S still prints errors.
56+
download(){ curl -fSL --progress-bar -o "$2" "$1"; }
5557
elif command -v wget >/dev/null 2>&1; then
5658
fetch() { wget -qO- "$1"; }
5759
download(){ wget -q --show-progress -O "$2" "$1"; }

0 commit comments

Comments
 (0)