summaryrefslogtreecommitdiff
path: root/libre/bbswitch-parabola/kmod.install
diff options
context:
space:
mode:
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: