Update mido.sh

This commit is contained in:
Kroese 2024-05-17 20:10:07 +02:00 committed by GitHub
parent b5a253a5c0
commit 44fa5d3e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -487,9 +487,7 @@ downloadFile() {
if (( rc == 0 )) && [ -f "$iso" ]; then
total=$(stat -c%s "$iso")
if [ "$total" -gt 100000000 ]; then
if [[ "${lang,,}" == "en" ]] || [[ "${lang,,}" == "en-"* ]]; then
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
fi
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
html "Download finished successfully..." && return 0
fi
fi