summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authoranthraxx2019-10-03 22:02:02 +0200
committeranthraxx2019-10-03 22:02:02 +0200
commitfcfa50c78179408a3c724d22a0b7aa19f581864d (patch)
treeca32616a9a1ea20771edfc358e926adba6450922 /60-linux.hook
downloadaur-fcfa50c78179408a3c724d22a0b7aa19f581864d.tar.gz
addpkg: linux-hardened-git 5.3.0.r857780.g1317ca6048b5-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 00000000000..b33873c854f
--- /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%