Changed reflector config to use latest 10 mirrors sorted by download rate
This commit is contained in:
parent
3a34be9ec8
commit
d18b19726d
4
PKGBUILD
4
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: David Thurstenson <thurstylark@gmail.com>
|
||||
pkgname=tl-reflector-hook
|
||||
pkgver=0.1
|
||||
pkgver=0.2
|
||||
pkgrel=1
|
||||
pkgdesc="A hook to run reflector after an upgrade to pacman-mirrorlist, plus reflector config"
|
||||
arch=('any')
|
||||
|
@ -13,7 +13,7 @@ source=("tl-reflector.hook"
|
|||
"tl-reflector.conf")
|
||||
md5sums=('83a559890411b435fe6c510a580a830d'
|
||||
'224f2e18880355adb313bd958189230f'
|
||||
'451edc9a736b23e09a3bc62ac42ec2d9')
|
||||
'f52888cce53670e2d32fd5f9f5dd282b')
|
||||
|
||||
package() {
|
||||
install -Dm644 tl-reflector.hook \
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
# Thurstylark's reflector config
|
||||
|
||||
# Set the output path where the mirrorlist will be saved (--save).
|
||||
--save /etc/pacman.d/mirrorlist
|
||||
|
||||
# Select the transfer protocol (--protocol).
|
||||
--sort rate
|
||||
|
||||
|
||||
# Filters (inclusive)
|
||||
|
||||
--protocol https
|
||||
|
||||
# Select the country (--country).
|
||||
--country "United States"
|
||||
|
||||
# Use only the most recently synchronized mirrors (--latest).
|
||||
--latest 5
|
||||
|
||||
# Sort the mirrors by synchronization time (--sort).
|
||||
--sort age
|
||||
--latest 10
|
||||
|
|
Loading…
Reference in New Issue