mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +00:00
Update install.sh
This commit is contained in:
parent
0a8f3718d3
commit
eccc35002a
1 changed files with 2 additions and 2 deletions
|
|
@ -357,12 +357,12 @@ downloadImage() {
|
|||
[[ "${version,,}" == "http"* ]] && return 1
|
||||
|
||||
url=$(getLink "$version")
|
||||
|
||||
|
||||
if [ -z "$url" ]; then
|
||||
! isMido "$version" && error "Invalid version specified: $version"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
isMido "$version" && info "Failed to download $desc from Microsoft, will try another mirror now..."
|
||||
|
||||
ISO="$TMP/$BASE"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue