Skip to content

Commit

Permalink
feat(download): add quiet-wget for silent download (pacstall#786
Browse files Browse the repository at this point in the history
* feat(download): add `null-wget` for silent download

* Change `null-wget` to `quiet-wget`

Former-commit-id: aa076084d1c53d88b345f955eb47826916c99348 [formerly f2d8ddd]
Former-commit-id: a939de3
  • Loading branch information
Elsie19 committed Feb 6, 2023
1 parent bf928ee commit c4bcadd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pacstall
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ function download() {
curl)
curl -L -# -o "${1##*/}" "$1" || return 1
;;
quiet-wget)
wget -q -- "$1" 2>&1 || return 1
;;
wget | *)
wget -q --show-progress --progress=bar:force -- "$1" 2>&1 || return 1
;;
Expand Down

0 comments on commit c4bcadd

Please sign in to comment.