summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorKyle De'Vir2018-11-17 07:07:22 +1000
committerKyle De'Vir2018-11-17 07:07:22 +1000
commitb0996c2880db3161b440f534604c6f82b5d04cac (patch)
tree3bb2a971cb83bf697df2984e08759da6d02b8e76 /90-linux.hook
parent0b1319856b3c4be3fafea4fd04be9be878dce621 (diff)
downloadaur-b0996c2880db3161b440f534604c6f82b5d04cac.tar.gz
Real update
Diffstat (limited to '90-linux.hook')
-rw-r--r--90-linux.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/90-linux.hook b/90-linux.hook
new file mode 100644
index 000000000000..be0d886539f4
--- /dev/null
+++ b/90-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%