summaryrefslogtreecommitdiffstats
path: root/libalpm/hooks
diff options
context:
space:
mode:
authorGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-10 23:21:51 +0200
committerGiancarlo Razzolini <grazzolini@archlinux.org>2019-10-10 23:21:51 +0200
commit0791321ed88bc480b193889c26cf4c356f1c78f7 (patch)
tree90ce1b9fc00437d8596da6b964aaf8bdd18f7aa7 /libalpm/hooks
parent59bdecbf138936f1eb61c9616d7270d92a5deac5 (diff)
downloadmkinitcpio-0791321ed88bc480b193889c26cf4c356f1c78f7.tar.gz
mkinitcpio-0791321ed88bc480b193889c26cf4c356f1c78f7.tar.xz
Change the install hook to trigger on usr/lib/initcpio/* instead of mkinitcpio* package
Since not only mkinitcpio* packages touch /usr/lib/initcpio, switch the hook to triggering on that.
Diffstat (limited to 'libalpm/hooks')
-rw-r--r--libalpm/hooks/90-mkinitcpio-install.hook7
1 files changed, 1 insertions, 6 deletions
diff --git a/libalpm/hooks/90-mkinitcpio-install.hook b/libalpm/hooks/90-mkinitcpio-install.hook
index 700350f..48e6a1e 100644
--- a/libalpm/hooks/90-mkinitcpio-install.hook
+++ b/libalpm/hooks/90-mkinitcpio-install.hook
@@ -1,14 +1,9 @@
[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Target = mkinitcpio*
-
-[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/vmlinuz
+Target = usr/lib/initcpio/*
[Action]
Description = Updating linux initcpios...