From 1a44def35eaaa4b7f583b3376e0321dec485271d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 10 Oct 2016 13:17:33 +0200 Subject: [PATCH] Add pacman hook description When installed in the proper place this would allow update-mirrors to run automatically whenever pacman-mirrorlist is updated. --- update-mirrors.hook | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 update-mirrors.hook 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