mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update mido.sh
This commit is contained in:
parent
1708edd80b
commit
26a09808bf
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ download_windows() {
|
||||||
return 1
|
return 1
|
||||||
fi
|
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")
|
checksum=$(getMido "$id" "sum")
|
||||||
|
|
||||||
if [[ "$hash" != "$checksum" ]]; then
|
if [[ "$hash" != "$checksum" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue