From d18b19726d2f87d38e5590d6d110ee96da349c75 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 14 Nov 2020 16:50:15 -0600 Subject: [PATCH] Changed reflector config to use latest 10 mirrors sorted by download rate --- PKGBUILD | 4 ++-- tl-reflector.conf | 16 ++++++---------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 0f633b8..0d654ba 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: David Thurstenson 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 \ diff --git a/tl-reflector.conf b/tl-reflector.conf index a88a0ff..c70aeac 100644 --- a/tl-reflector.conf +++ b/tl-reflector.conf @@ -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