Browse Source

feat: Display download URL in debug mode

Kroese 8 hours ago
parent
commit
726e7f2b11
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mido.sh

+ 1 - 0
src/mido.sh

@@ -579,6 +579,7 @@ downloadFile() {
   fi
 
   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=$?; } || :