summarylogtreecommitdiffstats
path: root/depmod.hook
diff options
context:
space:
mode:
authorVincent Grande2021-01-11 19:57:18 -0500
committerVincent Grande2021-01-11 19:57:18 -0500
commit3037f34a210397342f7d98fb6621180175d63022 (patch)
treec1806528580917960b1c8911cac34d01ce5bb153 /depmod.hook
parent72687c320f7d5ab92484e06c5322e61d394a2476 (diff)
downloadaur-kmod-git.tar.gz
big fix
Diffstat (limited to 'depmod.hook')
-rw-r--r--depmod.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/depmod.hook b/depmod.hook
new file mode 100644
index 000000000000..bbb39a9517fe
--- /dev/null
+++ b/depmod.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/lib/modules/*/
+Target = !usr/lib/modules/*/?*
+
+[Action]
+Description = Updating module dependencies...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/depmod
+NeedsTargets