summarylogtreecommitdiffstats
path: root/99-linux.hook
diff options
context:
space:
mode:
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