Update mido.sh

This commit is contained in:
Kroese 2024-05-16 23:05:36 +02:00 committed by GitHub
parent 1708edd80b
commit 26a09808bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,7 +149,7 @@ download_windows() {
return 1
fi
local hash=$(echo "$iso_download_link_html" | sed 's/<tr><td>/\n<tr><td>/g' | grep "$language 64-bit" | grep -o -P '(?<=</td><td>).*(?=</td></tr>)')
local hash=$(echo "$iso_download_link_html" | sed 's/<tr><td>/\n<tr><td>/g' | grep "$language 64-bit" | grep -o -P '(?<=</td><td>).*(?=</td></tr>)')
checksum=$(getMido "$id" "sum")
if [[ "$hash" != "$checksum" ]]; then