summaryrefslogtreecommitdiff
path: root/libre/bbswitch-parabola/kmod.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 01:36:15 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-23 01:36:15 -0300
commit28529fefc594bf968ca30905a5a2d6c9ae1d6f3c (patch)
tree4c2428f259eb8d14153d27c38659293f4a970f03 /libre/bbswitch-parabola/kmod.install
parentb1852341008bbce6f23ebc4c300112d98c96ab8d (diff)
downloadabslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.tar.gz
abslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.tar.bz2
abslibre-28529fefc594bf968ca30905a5a2d6c9ae1d6f3c.zip
add modifications from coadde and lukeshu contributions for linux-libre* and dependencies
Diffstat (limited to 'libre/bbswitch-parabola/kmod.install')
-rw-r--r--libre/bbswitch-parabola/kmod.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/bbswitch-parabola/kmod.install b/libre/bbswitch-parabola/kmod.install
new file mode 100644
index 000000000..d4bd8cb34
--- /dev/null
+++ b/libre/bbswitch-parabola/kmod.install
@@ -0,0 +1,14 @@
+post_install() {
+ _extramodules=THIS_IS_AUTOMATICALLY_SET_BY_PKGBUILD
+ depmod $(cat /usr/lib/modules/${_extramodules}/version)
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim: ts=2 sw=2 et: