aboutsummarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorcharveey2019-08-01 20:01:38 +0000
committercharveey2019-08-01 20:01:38 +0000
commit83c68482ca43c286835e524368f07d27580078d9 (patch)
tree0deb64671677f6707494b933babcfc3357ffff6d /60-linux.hook
downloadaur-83c68482ca43c286835e524368f07d27580078d9.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%