summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorChris Severance2019-01-01 15:55:31 -0500
committerChris Severance2019-01-01 15:55:31 -0500
commitcc434b14c9fe7f15bccd248613cb1df3f52106a9 (patch)
tree7b50e8bed772e0ca4e2aa4d2de53a3f7e444cf95 /90-linux.hook
downloadaur-cc434b14c9fe7f15bccd248613cb1df3f52106a9.tar.gz
Initial Import
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..be0d886539f
--- /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%