summaryrefslogtreecommitdiff
path: root/libre/tp_smapi-parabola/kmod.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-28 05:58:29 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-08-28 05:58:29 -0300
commit38ff2f0292589b31d54e566e8df6b00ff65f8537 (patch)
tree9b1af864f45ec54e7bc391dfd868b2d4b4a19bfe /libre/tp_smapi-parabola/kmod.install
parentc18ce93729e6f32f4df199c1845c49b80bd88532 (diff)
parent587875af278dfc6899376afa44e38f3158e0137e (diff)
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/tp_smapi-parabola/kmod.install')
-rw-r--r--libre/tp_smapi-parabola/kmod.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/libre/tp_smapi-parabola/kmod.install b/libre/tp_smapi-parabola/kmod.install
index d4bd8cb34..40caa464f 100644
--- a/libre/tp_smapi-parabola/kmod.install
+++ b/libre/tp_smapi-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: