feat: Display download URL in debug mode

This commit is contained in:
Kroese 2025-09-14 19:32:57 +02:00 committed by GitHub
parent f7ca0c65b9
commit 726e7f2b11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -579,6 +579,7 @@ downloadFile() {
fi fi
info "$msg..." info "$msg..."
[[ "$DEBUG" == [Yy1]* ]] && echo "Downloading $url"
{ wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --user-agent "$agent" --show-progress "$progress"; rc=$?; } || : { wget "$url" -O "$iso" -q --timeout=30 --no-http-keep-alive --user-agent "$agent" --show-progress "$progress"; rc=$?; } || :