mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update install.sh
This commit is contained in:
parent
40aa11e6a6
commit
1dcf445b23
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ downloadFile() {
|
|||
local msg="Downloading $desc..."
|
||||
|
||||
domain=$(echo "$url" | awk -F/ '{print $3}')
|
||||
dots=$(echo $domain | grep -o "." | wc -l)
|
||||
dots=$(echo "$domain" | tr -cd '.' | wc -c)
|
||||
(( dots > 1 )) && domain=$(expr "$domain" : '.*\.\(.*\..*\)')
|
||||
|
||||
if [ -n "$domain" ] && [[ "${domain,,}" != *"microsoft.com" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue