Update mido.sh

This commit is contained in:
Kroese 2025-03-05 10:40:52 +01:00 committed by GitHub
parent f7a086a8d4
commit 724e305bd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -476,7 +476,7 @@ verifyFile() {
local check="$4" local check="$4"
if [ -n "$size" ] && [[ "$total" != "$size" ]] && [[ "$size" != "0" ]]; then if [ -n "$size" ] && [[ "$total" != "$size" ]] && [[ "$size" != "0" ]]; then
warn "The downloaded file has an unexpected size: $total bytes, while expected value was: $size bytes. Please report this at $SUPPORT/issues" warn "The downloaded file has a different size ( $total bytes) than expected ( $size bytes). Please report this at $SUPPORT/issues"
fi fi
local hash="" local hash=""
@ -499,7 +499,7 @@ verifyFile() {
info "Succesfully verified ISO!" && return 0 info "Succesfully verified ISO!" && return 0
fi fi
error "The downloaded file has an invalid $algo checksum: $hash , while expected value was: $check. Please report this at $SUPPORT/issues" error "The downloaded file has an unknown $algo checksum: $hash , while expected value was: $check. Please report this at $SUPPORT/issues"
return 1 return 1
} }