summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authordysphoria2016-12-10 01:14:20 +0000
committerdysphoria2016-12-10 01:14:20 +0000
commit8050cf84e6b7ec28d813e6c60bd088e250051b51 (patch)
treee121a3e6435f42086f36673a96d90850e7723d80 /99-linux.hook
parent47d70efbd6bc57255c82fcc3dfaea32689b581e2 (diff)
downloadaur-8050cf84e6b7ec28d813e6c60bd088e250051b51.tar.gz
[upd] bump to latest
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook11
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%