summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorGeorge Fan2017-12-05 17:21:07 +0800
committerGeorge Fan2017-12-05 17:21:07 +0800
commit868e07ddffdf944f435073e6eac59dacb6304ab1 (patch)
tree28fc61d0be3dc7f04443cfc377e126b66ee9e066 /60-linux.hook
parentf159058c845ee61d95aa02e8baacbf508f2c4f3f (diff)
downloadaur-868e07ddffdf944f435073e6eac59dacb6304ab1.tar.gz
Bump to 4.14.3-1
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%