Revert "Use mirrors.kernel.org as first mirror"

This reverts commit 664dcd02c3.
This commit is contained in:
Timothy Redaelli 2021-08-05 17:16:54 +02:00
parent 01ee93e1f0
commit 8b78932af7

View file

@ -26,7 +26,6 @@ else
fi
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 } }'
}