summarylogtreecommitdiffstats
path: root/depmod.hook
diff options
context:
space:
mode:
Diffstat (limited to 'depmod.hook')
-rw-r--r--depmod.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/depmod.hook b/depmod.hook
new file mode 100644
index 000000000000..12d7e8c4c1bd
--- /dev/null
+++ b/depmod.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/*/
+Target = !usr/lib/modules/*/?*
+
+[Action]
+Description = Updating module dependencies...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/depmod
+NeedsTargets