summaryrefslogtreecommitdiff
path: root/releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook
diff options
context:
space:
mode:
Diffstat (limited to 'releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook')
-rw-r--r--releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook b/releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook
new file mode 100644
index 0000000..312c41e
--- /dev/null
+++ b/releng/airootfs/etc/pacman.d/hooks/reflector-mirrorlist.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = pacman-mirrorlist
+
+[Action]
+Description = Updating mirrorlist with reflector (Hungary)...
+When = PostTransaction
+Depends = reflector
+Exec = /usr/bin/reflector -c HU --protocol https --sort rate --latest 20 --download-timeout 5 --threads 20 --save /etc/pacman.d/mirrorlist