diff --git a/99-linux.hook b/99-linux.hook index 138b911..416cb94 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