From f31ced52d1f2f4c81b863d0af42e69af8156fcf1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 30 Apr 2024 04:03:48 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/install.sh b/src/install.sh index 407937e..3dc990e 100644 --- a/src/install.sh +++ b/src/install.sh @@ -301,6 +301,7 @@ downloadFile() { fi domain=$(echo "$url" | awk -F/ '{print $3}') + domain=$(expr match "$domain" '.*\.\(.*\..*\)') local msg="Downloading $desc from $domain..." info "$msg" && html "$msg"