summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorFigue2017-11-19 03:17:33 +0100
committerFigue2017-11-19 03:17:33 +0100
commit15df4c110eaa1636cc5421c52bf4e355c4a021ff (patch)
tree563b70d46d717c997aafb433b3364c90b3e2a844 /60-linux.hook
parent47553269d374566f2ae2e26edb5708c0010d3e2b (diff)
downloadaur-15df4c110eaa1636cc5421c52bf4e355c4a021ff.tar.gz
Update to 4.14 branch
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%