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