summaryrefslogtreecommitdiff
path: root/libre/linux-libre/60-linux.hook
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-12-07 18:37:46 -0300
committerDavid P <megver83@parabola.nu>2017-12-07 18:37:46 -0300
commit6d997261814afd1b6034705d14042f5a84f7d740 (patch)
tree915d46b47a6ed755df78fce4c0d9c842a5921006 /libre/linux-libre/60-linux.hook
parent2b2be1f8782f406d4fc0205ef36c2bcafd5ed150 (diff)
downloadabslibre-6d997261814afd1b6034705d14042f5a84f7d740.tar.gz
abslibre-6d997261814afd1b6034705d14042f5a84f7d740.tar.bz2
abslibre-6d997261814afd1b6034705d14042f5a84f7d740.zip
Update libre/linux-libre pacman hooks and PKGBUILD
Diffstat (limited to 'libre/linux-libre/60-linux.hook')
-rw-r--r--libre/linux-libre/60-linux.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/linux-libre/60-linux.hook b/libre/linux-libre/60-linux.hook
new file mode 100644
index 000000000..b33873c85
--- /dev/null
+++ b/libre/linux-libre/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%