summarylogtreecommitdiffstats
path: root/90-linux.hook
diff options
context:
space:
mode:
authorJoan Figueras2017-05-09 08:15:46 +0200
committerJoan Figueras2017-05-09 08:15:46 +0200
commit86c783a6296040acf782e18bbbffdfc5d81068ac (patch)
treecf64758e41fcb1ce699ba0e82777530e03296056 /90-linux.hook
parentb41c67220dcc85123f078deb063d81f301b48e70 (diff)
downloadaur-86c783a6296040acf782e18bbbffdfc5d81068ac.tar.gz
Switch to 4.11. Package was converted to use .tar.gz instead of git. There is other package for that. Default's project config is used for now.
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..9851151995bc
--- /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%