summaryrefslogtreecommitdiffstats
path: root/libalpm
diff options
context:
space:
mode:
authorPiotr Gorski <lucjan.lucjanov@gmail.com>2020-03-03 15:01:59 +0100
committerPiotr Gorski <lucjan.lucjanov@gmail.com>2020-07-06 21:53:52 +0200
commit6ca402a3663b03884343564e780483d005a56e2c (patch)
tree4ea5c636832c2ce5eb1a98a746358c9e12b10dbb /libalpm
parentab34e08b4624d1a212b66cc0f2c0a2c5b9feb325 (diff)
downloadmkinitcpio-6ca402a3663b03884343564e780483d005a56e2c.tar.gz
mkinitcpio-6ca402a3663b03884343564e780483d005a56e2c.tar.xz
alpm-hooks should use Type = Path, not File
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to 'libalpm')
-rw-r--r--libalpm/hooks/60-mkinitcpio-remove.hook2
-rw-r--r--libalpm/hooks/90-mkinitcpio-install.hook2
2 files changed, 2 insertions, 2 deletions
diff --git a/libalpm/hooks/60-mkinitcpio-remove.hook b/libalpm/hooks/60-mkinitcpio-remove.hook
index ab71ed6..9827afc 100644
--- a/libalpm/hooks/60-mkinitcpio-remove.hook
+++ b/libalpm/hooks/60-mkinitcpio-remove.hook
@@ -1,5 +1,5 @@
[Trigger]
-Type = File
+Type = Path
Operation = Remove
Target = usr/lib/modules/*/vmlinuz
diff --git a/libalpm/hooks/90-mkinitcpio-install.hook b/libalpm/hooks/90-mkinitcpio-install.hook
index 48e6a1e..cf480bd 100644
--- a/libalpm/hooks/90-mkinitcpio-install.hook
+++ b/libalpm/hooks/90-mkinitcpio-install.hook
@@ -1,5 +1,5 @@
[Trigger]
-Type = File
+Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/modules/*/vmlinuz