summaryrefslogtreecommitdiff
path: root/libre/bbswitch-parabola/kmod.install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-25 18:35:07 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-25 18:35:07 -0300
commit4fb325456dea26858d4460500938e11572589fa4 (patch)
tree5fa4f9a092f87616ed1479713f5f8d46da384d6a /libre/bbswitch-parabola/kmod.install
parentd2c5fc586946d8f0f92359492206a11c0b2b1dae (diff)
downloadabslibre-4fb325456dea26858d4460500938e11572589fa4.tar.gz
abslibre-4fb325456dea26858d4460500938e11572589fa4.tar.bz2
abslibre-4fb325456dea26858d4460500938e11572589fa4.zip
bbswitch-parabola: fix pkg
Diffstat (limited to 'libre/bbswitch-parabola/kmod.install')
-rw-r--r--libre/bbswitch-parabola/kmod.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/bbswitch-parabola/kmod.install b/libre/bbswitch-parabola/kmod.install
index d4bd8cb34..40caa464f 100644
--- a/libre/bbswitch-parabola/kmod.install
+++ b/libre/bbswitch-parabola/kmod.install
@@ -1,14 +1,14 @@
+_EXTRAMODULES=
+
post_install() {
- _extramodules=THIS_IS_AUTOMATICALLY_SET_BY_PKGBUILD
- depmod $(cat /usr/lib/modules/${_extramodules}/version)
+ echo ">>> Updating module dependencies. Please wait ..."
+ depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}
-
-# vim: ts=2 sw=2 et: