summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorKyle De'Vir2019-05-12 04:16:07 +1000
committerKyle De'Vir2019-05-12 04:16:07 +1000
commitbc45d1e5cd18b96461fb104a38143e1609e1c855 (patch)
tree8474ac476b1d397e35e19a8b33683cdaf51d5439 /90-linux.hook
downloadaur-bc45d1e5cd18b96461fb104a38143e1609e1c855.tar.gz
5.1.1
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..fca45abe1a62
--- /dev/null
+++ b/90-linux.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/modules/%KERNVER%/vmlinuz
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios...
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%