Skip to content

Commit

Permalink
use curl progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
subosito committed Jan 24, 2022
1 parent 31089a7 commit 37ce413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ download_archive() {
archive_name=$(basename $1)
archive_local="$HOME/$archive_name"

curl --connect-timeout 15 --retry 5 $archive_url >$archive_local
curl --connect-timeout 15 --retry 5 --progress-bar $archive_url >$archive_local

if [[ $archive_name == *zip ]]; then
unzip -o "$archive_local" -d "$HOME"
Expand Down

0 comments on commit 37ce413

Please sign in to comment.