mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 12:37:20 +01:00
fix: Disable debug message (#1862)
This commit is contained in:
+1
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user