summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorDaniel Holz2019-03-13 23:15:22 +0100
committerDaniel Holz2019-03-13 23:15:22 +0100
commitbe970d5629045b54bdf0dda1ccb413b5a179e8f5 (patch)
tree1abee25a5a9812bb360745533e127ff33a73b939 /60-linux.hook
downloadaur-be970d5629045b54bdf0dda1ccb413b5a179e8f5.tar.gz
initial commit
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%