summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorsirlucjan2016-11-18 17:36:33 +0100
committersirlucjan2016-11-18 17:36:33 +0100
commitd4cd7fd6f0203f431206b895f28d89b47181cb63 (patch)
tree007ad5bd2058c6a7cf507beb011c59ff299e576b /99-linux.hook
parent40d02616e0187d74e0f560553c9a5cb008ccf1e4 (diff)
downloadaur-d4cd7fd6f0203f431206b895f28d89b47181cb63.tar.gz
Add pacman hook && sync with -ARCH config
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%