Explorar o código

feat: Display download URL in debug mode

Kroese hai 6 horas
pai
achega
726e7f2b11
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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=$?; } || :