summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-14 10:55:15 +0100
committerYurii Kolesnykov2018-12-14 10:55:15 +0100
commitb91ecc56af194c7db1c85aef42b4d7e981b5b454 (patch)
tree9ad1c74852eb4f9b6faaea2e9833bd4ee654fbe7 /60-linux.hook
parent81f7b66a163e0008cefb09fb73fc88e78e9e8237 (diff)
downloadaur-b91ecc56af194c7db1c85aef42b4d7e981b5b454.tar.gz
4.21.798025.4377d4e0d3d5
Diffstat (limited to '60-linux.hook')
-rw-r--r--60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/60-linux.hook b/60-linux.hook
new file mode 100644
index 000000000000..b33873c854fb
--- /dev/null
+++ b/60-linux.hook
@@ -0,0 +1,12 @@
+[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%