summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
Diffstat (limited to '60-linux.hook')
-rw-r--r--60-linux.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/60-linux.hook b/60-linux.hook
new file mode 100644
index 00000000000..8d34a13c6da
--- /dev/null
+++ b/60-linux.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/%KERNVER%/*
+Target = usr/lib/modules/%EXTRAMODULES%/*
+
+[Action]
+Description = Updating %PKGBASE% module dependencies...
+When = PostTransaction
+Exec = /usr/bin/depmod %KERNVER%
+