summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
authorPiotr Gorski2018-12-01 00:35:07 +0100
committerPiotr Gorski2018-12-01 00:35:07 +0100
commit44cfcaeb9b23a99df7e9a347f769a81861d7dc08 (patch)
tree61fb40e6b6555183c66de39c3148211df8ca6051 /99-linux.hook
parent60a1753b4b6646f4ea50cc6ecea4e278afdafd3f (diff)
downloadaur-44cfcaeb9b23a99df7e9a347f769a81861d7dc08.tar.gz
Improve 99-linux.hook
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to '99-linux.hook')
-rw-r--r--99-linux.hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/99-linux.hook b/99-linux.hook
index 138b911b6794..416cb9424d0d 100644
--- a/99-linux.hook
+++ b/99-linux.hook
@@ -1,9 +1,9 @@
[Trigger]
Type = File
Operation = Remove
-Target = usr/lib/modules/%KERNVER%/vmlinuz
+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
+Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img