From ecf2ec35350521d85f8b1809d8565e9d8ab69892 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 28 Apr 2024 22:12:46 +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 1ca9562..1a5f355 100644 --- a/src/install.sh +++ b/src/install.sh @@ -359,11 +359,11 @@ downloadImage() { url=$(getLink "$version") if [ -z "$url" ]; then - ! isMido && error "Invalid version specified: $version" + ! isMido "$version" && error "Invalid version specified: $version" return 1 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="$ISO"