Update install.sh

This commit is contained in:
Kroese 2024-04-29 00:01:27 +02:00 committed by GitHub
parent 0a8f3718d3
commit eccc35002a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"