From c5a65c40a7e682c355fa5c2ee1ca84bb6881188f Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 30 Apr 2024 06:19:56 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/install.sh b/src/install.sh index aac1556..31ecdd3 100644 --- a/src/install.sh +++ b/src/install.sh @@ -269,6 +269,7 @@ downloadFile() { fi domain=$(echo "$url" | awk -F/ '{print $3}') + domain=$(expr match "$domain" '.*\.\(.*\..*\)') local msg="Downloading $desc from $domain..." info "$msg" && html "$msg" @@ -320,6 +321,7 @@ downloadImage() { tried="y" doMido "$iso" "$version" "$desc" && return 0 fi + switchEdition "$version" fi if isESD "$version"; then