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]
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