From fc35ca45efa883007372060f5f9d126b1bff699f Mon Sep 17 00:00:00 2001 From: Josip Ponjavic Date: Sat, 1 Dec 2018 13:27:23 +0100 Subject: [PATCH] add hook changes --- 99-linux.hook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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