mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Update download mirrors (#729)
This commit is contained in:
parent
c3177e279a
commit
a2a8ad8243
4 changed files with 95 additions and 173 deletions
|
|
@ -548,7 +548,7 @@ downloadFile() {
|
|||
if (( rc == 0 )) && [ -f "$iso" ]; then
|
||||
total=$(stat -c%s "$iso")
|
||||
if [ "$total" -lt 100000000 ]; then
|
||||
error "Invalid download link: $url (is only $total bytes?). Please report this issue." && return 1
|
||||
error "Invalid download link: $url (is only $total bytes?). Please report this at $SUPPORT/issues." && return 1
|
||||
fi
|
||||
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
|
||||
html "Download finished successfully..." && return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue