summarylogtreecommitdiffstats
path: root/60-linux.hook
diff options
context:
space:
mode:
authorCyano Hao2018-11-18 05:55:54 +0800
committerCyano Hao2018-11-18 05:55:54 +0800
commit309a627e4023999eb34fa172204117192f7dd54c (patch)
treefb72883839a6f2e72ce1590a5481523546b049a7 /60-linux.hook
parent2252066d19cb124fde6da6c654aabbb3c7f09746 (diff)
downloadaur-309a627e4023999eb34fa172204117192f7dd54c.tar.gz
update to 4.19.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%