summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorPiotr Gorski2019-07-22 13:46:39 +0200
committerPiotr Gorski2019-07-22 13:46:39 +0200
commitd56771d5167298079034c219f56ea94d8e0b2135 (patch)
tree2b0569fdc1d32a8e52e4f695ec1e30e3d3d718bb /99-linux.hook
parentc53681c61584a957e0953408c3d0fd362d1d7964 (diff)
downloadaur-d56771d5167298079034c219f56ea94d8e0b2135.tar.gz
Bump to 5.2.2-1
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/99-linux.hook b/99-linux.hook
new file mode 100644
index 000000000000..416cb9424d0d
--- /dev/null
+++ b/99-linux.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = File
+Operation = Remove
+Target = boot/vmlinuz-%PKGBASE%
+
+[Action]
+Description = Remove %PKGBASE% initramfs files...
+When = PreTransaction
+Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img