summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-20 19:56:53 +0100
committerYurii Kolesnykov2018-12-20 19:56:53 +0100
commit15d4d8f07335782d93bbc436b02475b27f042b69 (patch)
tree13177e4e636ad9c3b5de758cb16082141e184572 /60-linux.hook
parent448c8e63f6f77760aba67910f7ee5533a2592e30 (diff)
downloadaur-15d4d8f07335782d93bbc436b02475b27f042b69.tar.gz
4.21.798081.6afe8925a297
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%