From eccc35002a5863bc612d473965579eeb212dde70 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 29 Apr 2024 00:01:27 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 1a5f355..66c5882 100644 --- a/src/install.sh +++ b/src/install.sh @@ -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"