summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorMikael Eriksson2017-04-14 22:28:35 +0200
committerMikael Eriksson2017-04-14 22:29:01 +0200
commit8ac554e186381e11468d67b4e26b13d9be628816 (patch)
treefebf2537e1389fc5ce292926eb7b5f77dd88a1dc /90-linux.hook
parentae054cccecbba92d2fce801e82bffb433b9e6759 (diff)
downloadaur-8ac554e186381e11468d67b4e26b13d9be628816.tar.gz
Renamed 99-linux.hook
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 00000000000..9851151995b
--- /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%