Browse Source

feat: Print URL In debug mode

Kroese 14 hours ago
parent
commit
0bee329b7b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/mido.sh

+ 1 - 0
src/mido.sh

@@ -561,6 +561,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=$?; } || :