add hook changes

This commit is contained in:
Josip Ponjavic 2018-12-01 13:27:23 +01:00
parent d11a8e59cc
commit fc35ca45ef

View file

@ -1,9 +1,9 @@
[Trigger] [Trigger]
Type = File Type = File
Operation = Remove Operation = Remove
Target = usr/lib/modules/%KERNVER%/vmlinuz Target = boot/vmlinuz-%PKGBASE%
[Action] [Action]
Description = Remove %PKGBASE% initramfs files... Description = Remove %PKGBASE% initramfs files...
When = PreTransaction 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