diff options
Diffstat (limited to 'arch-system/mirrorupgrade.hook')
-rw-r--r-- | arch-system/mirrorupgrade.hook | 10 |
1 files changed, 10 insertions, 0 deletions
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 |