diff --git a/update-mirrors.hook b/update-mirrors.hook new file mode 100644 index 0000000..e5d162d --- /dev/null +++ b/update-mirrors.hook @@ -0,0 +1,10 @@ +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = pacman-mirrorlist + +[Action] +Description = Update mirrorlist and cleanup .pacnew +When = PostTransaction +Exec = /usr/bin/update-mirrors