summaryrefslogtreecommitdiffstats
path: root/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'libalpm')
-rw-r--r--libalpm/hooks/60-mkinitcpio-remove.hook3
1 files changed, 2 insertions, 1 deletions
diff --git a/libalpm/hooks/60-mkinitcpio-remove.hook b/libalpm/hooks/60-mkinitcpio-remove.hook
index ba2b649..ab71ed6 100644
--- a/libalpm/hooks/60-mkinitcpio-remove.hook
+++ b/libalpm/hooks/60-mkinitcpio-remove.hook
@@ -7,9 +7,10 @@ Target = usr/lib/modules/*/vmlinuz
Type = Package
Operation = Remove
Target = mkinitcpio
+Target = mkinitcpio-git
[Action]
Description = Removing linux initcpios...
-When = PostTransaction
+When = PreTransaction
Exec = /usr/share/libalpm/scripts/mkinitcpio-remove
NeedsTargets