Use mirror.pkgbuild.com as first mirror and use only https mirrors
This commit is contained in:
parent
8b78932af7
commit
78234c8bb6
1 changed files with 2 additions and 1 deletions
3
vps2arch
3
vps2arch
|
@ -26,7 +26,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
get_worldwide_mirrors() {
|
get_worldwide_mirrors() {
|
||||||
_download 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&protocol=https&ip_version=4' | awk '/^## /{if ($2 == "Worldwide") { flag=1 } else { flag=0 } } /^#Server/ { if (flag) { sub(/\/\$repo.*/, ""); print $3 } }'
|
echo "https://mirror.pkgbuild.com"
|
||||||
|
_download 'https://www.archlinux.org/mirrorlist/?country=all&protocol=https&ip_version=4' | awk '/^## /{if ($2 == "Worldwide") { flag=1 } else { flag=0 } } /^#Server/ { if (flag) { sub(/\/\$repo.*/, ""); print $3 } }'
|
||||||
}
|
}
|
||||||
|
|
||||||
cpu_type=$(uname -m)
|
cpu_type=$(uname -m)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue