Update install.sh

This commit is contained in:
Kroese 2024-04-30 04:03:48 +02:00 committed by GitHub
parent f3438ec2b5
commit f31ced52d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -301,6 +301,7 @@ downloadFile() {
fi fi
domain=$(echo "$url" | awk -F/ '{print $3}') domain=$(echo "$url" | awk -F/ '{print $3}')
domain=$(expr match "$domain" '.*\.\(.*\..*\)')
local msg="Downloading $desc from $domain..." local msg="Downloading $desc from $domain..."
info "$msg" && html "$msg" info "$msg" && html "$msg"