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