summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorLeonidas Spyropoulos2018-02-17 10:10:56 +0000
committerLeonidas Spyropoulos2018-02-17 10:10:56 +0000
commit230da4fb6c6f8e67c2977393ea363818c5efcabf (patch)
tree8ac15ab8f852229536c0d20b9f387ab3e552d8c8 /60-linux.hook
downloadaur-230da4fb6c6f8e67c2977393ea363818c5efcabf.tar.gz
Initial upload: linux-gc 4.15.3-2
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%