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:
parent
2b4e21e293
commit
1a44def35e
1 changed files with 10 additions and 0 deletions
10
update-mirrors.hook
Normal file
10
update-mirrors.hook
Normal 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
|
Loading…
Reference in a new issue