fix: Disable debug message (#1862)

This commit is contained in:
Kroese
2026-07-15 20:09:25 +02:00
committed by GitHub
parent f0b3967927
commit ea19f2e5ed
+1 -2
View File
@@ -955,11 +955,10 @@ downloadImage() {
sum="" sum=""
size="" size=""
# Skip verification if the retrieved URL differs from the static URL.
if [[ "${MIDO_URL%%\?*}" == "${url%%\?*}" ]]; then if [[ "${MIDO_URL%%\?*}" == "${url%%\?*}" ]]; then
size=$(getMido "$version" "$lang" "size") size=$(getMido "$version" "$lang" "size")
sum=$(getMido "$version" "$lang" "sum") sum=$(getMido "$version" "$lang" "sum")
else
enabled "$DEBUG" && echo "Skipping verification because the retrieved URL differs from the static URL."
fi fi
tryDownload "$iso" "$MIDO_URL" "$sum" "$size" "$lang" "$desc" "$seconds" && return 0 tryDownload "$iso" "$MIDO_URL" "$sum" "$size" "$lang" "$desc" "$seconds" && return 0