Update curl command in zrep script for downloading packages. Fix duplicate output redirection.
This commit is contained in:
parent
c92eb49c05
commit
c297c2a551
2
zrep
2
zrep
@ -533,7 +533,7 @@ function zrep_download_package() {
|
|||||||
case "${config[global_downloader]}" in
|
case "${config[global_downloader]}" in
|
||||||
curl)
|
curl)
|
||||||
downloader="curl"
|
downloader="curl"
|
||||||
cmd="curl -s -w \"%{http_code}\" -o \"$ZipFile\" \"$DownloadURL\" -o /dev/null"
|
cmd="curl -s -w \"%{http_code}\" -o \"$ZipFile\" \"$DownloadURL\""
|
||||||
;;
|
;;
|
||||||
wget)
|
wget)
|
||||||
downloader="wget"
|
downloader="wget"
|
||||||
|
Loading…
Reference in New Issue
Block a user