diff options
-rw-r--r-- | libalpm/hooks/60-mkinitcpio-remove.hook | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libalpm/hooks/60-mkinitcpio-remove.hook b/libalpm/hooks/60-mkinitcpio-remove.hook new file mode 100644 index 0000000..ba2b649 --- /dev/null +++ b/libalpm/hooks/60-mkinitcpio-remove.hook @@ -0,0 +1,15 @@ +[Trigger] +Type = File +Operation = Remove +Target = usr/lib/modules/*/vmlinuz + +[Trigger] +Type = Package +Operation = Remove +Target = mkinitcpio + +[Action] +Description = Removing linux initcpios... +When = PostTransaction +Exec = /usr/share/libalpm/scripts/mkinitcpio-remove +NeedsTargets |