From 4a8378a672a327af2467b492ea7b80fec706e036 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 22 Jan 2018 17:51:04 +0100 Subject: arch-system: initial commit --- arch-system/mirrorupgrade.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch-system/mirrorupgrade.hook (limited to 'arch-system/mirrorupgrade.hook') diff --git a/arch-system/mirrorupgrade.hook b/arch-system/mirrorupgrade.hook new file mode 100644 index 0000000..7adfe8d --- /dev/null +++ b/arch-system/mirrorupgrade.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Updating pacman-mirrorlist with reflector and removing pacnew... +When = PostTransaction +Depends = reflector +Exec = /usr/bin/reflector -p https -l 30 -f 10 -a 24 --score 100 --save /etc/pacman.d/mirrorlist -- cgit v1.2.3-70-g09d2