diff options
author | James Bunton | 2017-03-05 14:56:28 +1100 |
---|---|---|
committer | James Bunton | 2017-03-05 14:56:28 +1100 |
commit | 4f73152e1158a02f3213894cfe781adc1e69ebff (patch) | |
tree | e8d011fbc6818ccfebf2a6f176d81592406d2e8c /99-linux.hook | |
parent | d3bd8222101dd5cb0206c069382cdedabc4b106f (diff) | |
download | aur-4f73152e1158a02f3213894cfe781adc1e69ebff.tar.gz |
Use pacman hook for mkinitcpio
Diffstat (limited to '99-linux.hook')
-rw-r--r-- | 99-linux.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook new file mode 100644 index 000000000000..9851151995bc --- /dev/null +++ b/99-linux.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = boot/vmlinuz-%PKGBASE% +Target = usr/lib/initcpio/* + +[Action] +Description = Updating %PKGBASE% initcpios +When = PostTransaction +Exec = /usr/bin/mkinitcpio -p %PKGBASE% |