diff options
author | Tom Willemse | 2016-10-10 13:17:33 +0200 |
---|---|---|
committer | Tom Willemse | 2016-10-10 13:17:33 +0200 |
commit | 1a44def35eaaa4b7f583b3376e0321dec485271d (patch) | |
tree | a05301c4927be9b003470e1b3b69dfa0c58a461a | |
parent | 2b4e21e293fcc0ae72a0cb8d91dcb0b858b53465 (diff) | |
download | update-mirrors-1a44def35eaaa4b7f583b3376e0321dec485271d.tar.gz update-mirrors-1a44def35eaaa4b7f583b3376e0321dec485271d.zip |
Add pacman hook description
When installed in the proper place this would allow update-mirrors to
run automatically whenever pacman-mirrorlist is updated.
-rw-r--r-- | update-mirrors.hook | 10 |
1 files changed, 10 insertions, 0 deletions
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 |