1
0
Fork 0

Add pacman hook description

When installed in the proper place this would allow update-mirrors to
run automatically whenever pacman-mirrorlist is updated.
This commit is contained in:
Tom Willemse 2016-10-10 13:17:33 +02:00
parent 2b4e21e293
commit 1a44def35e

10
update-mirrors.hook Normal file
View file

@ -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