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 b278702fc597..036f6bf2534a 100644
--- a/99-linux.hook
+++ b/99-linux.hook
@@ -4,6 +4,6 @@ Operation = Remove
Target = boot/vmlinuz-%PKGBASE%
[Action]
-Description = Remove linux-%PKGBASE% initramfs files...
+Description = Remove %PKGBASE% initramfs files...
When = PreTransaction
-Exec = /usr/bin/rm /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img
+Exec = /usr/bin/rm -f /boot/initramfs-%PKGBASE%.img /boot/initramfs-%PKGBASE%-fallback.img