summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorshmilee2018-09-08 21:48:09 +0800
committershmilee2018-09-08 21:48:09 +0800
commitc241ef7ad6b389b923abba95bf84e463cd15382c (patch)
tree164a24b60e6dabfe94f2569b5a13da60046ddf28 /90-linux.hook
downloadaur-c241ef7ad6b389b923abba95bf84e463cd15382c.tar.gz
init LTS 4.4.136
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%