summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorJoan Figueras2020-04-03 11:52:11 +0200
committerJoan Figueras2020-04-03 11:52:11 +0200
commit9f25ed78b2ece4d8fe25ccebcde950361e9a7918 (patch)
treea20e3e82e5d25858d74baf9532c3a1117971b8b2 /60-linux.hook
downloadaur-linux-xanmod-lts49.tar.gz
Initial release: 4.19.102-xanmod49
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%