Use mirrors.kernel.org as first mirror
This commit is contained in:
parent
f7c3f0ea49
commit
664dcd02c3
1 changed files with 1 additions and 0 deletions
1
vps2arch
1
vps2arch
|
@ -26,6 +26,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
get_worldwide_mirrors() {
|
get_worldwide_mirrors() {
|
||||||
|
echo "http://mirrors.kernel.org/archlinux"
|
||||||
_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 } }'
|
_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 } }'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue