summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/60-linux.hook
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-03-27 14:16:24 -0300
committerDavid P <megver83@parabola.nu>2018-03-27 14:16:24 -0300
commitdc11f3893a631130424594756b24a39acbf16247 (patch)
treee8731ccd6078b6042cc85f061324934e288704d6 /libre/linux-libre-pck/60-linux.hook
parente029927b8ceca76a9a669907ae1bbf1b3213a8ba (diff)
downloadabslibre-dc11f3893a631130424594756b24a39acbf16247.tar.gz
abslibre-dc11f3893a631130424594756b24a39acbf16247.tar.bz2
abslibre-dc11f3893a631130424594756b24a39acbf16247.zip
upgpkg: libre/linux-libre-pck 4.15.12_gnu.pck1-1
Diffstat (limited to 'libre/linux-libre-pck/60-linux.hook')
-rw-r--r--libre/linux-libre-pck/60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/linux-libre-pck/60-linux.hook b/libre/linux-libre-pck/60-linux.hook
new file mode 100644
index 000000000..b33873c85
--- /dev/null
+++ b/libre/linux-libre-pck/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%