summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-20 18:01:47 +0100
committerYurii Kolesnykov2018-12-20 18:01:47 +0100
commit113082d5fe2df50b466efde36b0c3949f800fca1 (patch)
treee28f80bfa928fc104894ecfb00a89bb492244794 /60-linux.hook
parent0e72f7ef2e6c0d544c9c514fb9985e42c88c41b0 (diff)
downloadaur-113082d5fe2df50b466efde36b0c3949f800fca1.tar.gz
4.21.798435.7566ec393f41
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%