From 62aa9dfb805dd3c61f2be3205a780921217e86d2 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 30 Apr 2024 03:31:37 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 0c83942..3a99af9 100644 --- a/src/install.sh +++ b/src/install.sh @@ -262,7 +262,7 @@ doMido() { rm -f "$iso" rm -f "$iso.PART" - local msg="Downloading $desc..." + local msg="Downloading $desc from Microsoft server..." info "$msg" && html "$msg" /run/progress.sh "$iso.PART" "Downloading $desc ([P])..." & @@ -289,7 +289,7 @@ downloadFile() { local iso="$1" local url="$2" local desc="$3" - local rc progress + local rc progress domain rm -f "$iso" @@ -300,7 +300,9 @@ downloadFile() { progress="--progress=dot:giga" fi - local msg="Downloading $desc..." + domain=$(echo "$url" | awk -F/ '{print $3}') + local msg="Downloading $desc from $domain..." + info "$msg" && html "$msg" /run/progress.sh "$iso" "Downloading $desc ([P])..." &