summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorJosip Ponjavic2019-04-19 15:19:34 +0200
committerJosip Ponjavic2019-04-19 15:19:34 +0200
commit4a4dbad660d01b2cb224c688188b08cb9b57c2cc (patch)
treedb2d05ca37dc60feb274ac1c11bbab3ea0b1d463 /60-linux.hook
downloadaur-4a4dbad660d01b2cb224c688188b08cb9b57c2cc.tar.gz
4.19.35-1 (clr 4.19.35-22)
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%