Changed reflector config to use latest 10 mirrors sorted by download rate

This commit is contained in:
David Thurstenson 2020-11-14 16:50:15 -06:00
parent 3a34be9ec8
commit d18b19726d
2 changed files with 8 additions and 12 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: David Thurstenson <thurstylark@gmail.com> # Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=tl-reflector-hook pkgname=tl-reflector-hook
pkgver=0.1 pkgver=0.2
pkgrel=1 pkgrel=1
pkgdesc="A hook to run reflector after an upgrade to pacman-mirrorlist, plus reflector config" pkgdesc="A hook to run reflector after an upgrade to pacman-mirrorlist, plus reflector config"
arch=('any') arch=('any')
@ -13,7 +13,7 @@ source=("tl-reflector.hook"
"tl-reflector.conf") "tl-reflector.conf")
md5sums=('83a559890411b435fe6c510a580a830d' md5sums=('83a559890411b435fe6c510a580a830d'
'224f2e18880355adb313bd958189230f' '224f2e18880355adb313bd958189230f'
'451edc9a736b23e09a3bc62ac42ec2d9') 'f52888cce53670e2d32fd5f9f5dd282b')
package() { package() {
install -Dm644 tl-reflector.hook \ install -Dm644 tl-reflector.hook \

View File

@ -1,16 +1,12 @@
# Thurstylark's reflector config # Thurstylark's reflector config
# Set the output path where the mirrorlist will be saved (--save).
--save /etc/pacman.d/mirrorlist --save /etc/pacman.d/mirrorlist
# Select the transfer protocol (--protocol). --sort rate
# Filters (inclusive)
--protocol https --protocol https
# Select the country (--country).
--country "United States" --country "United States"
--latest 10
# Use only the most recently synchronized mirrors (--latest).
--latest 5
# Sort the mirrors by synchronization time (--sort).
--sort age