Update curl command in zrep script for downloading packages. Fix duplicate output redirection.

This commit is contained in:
Stig-Ørjan Smelror 2024-03-15 22:39:24 +01:00
parent c92eb49c05
commit c297c2a551

2
zrep
View File

@ -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"