summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install')
-rw-r--r--libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
index d2e34dfc1..ed1762c21 100644
--- a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
+++ b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
@@ -1,18 +1,21 @@
-VERSION='3.9.7-1-LIBRE'
+_depmod() {
+ EXTRAMODULES='extramodules-3.10-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
post_install() {
-cat << EOF
+ cat << EOF
===> You may want to load vboxguest, vboxsf and vboxvideo
EOF
- depmod $VERSION
+ _depmod
}
post_upgrade() {
- depmod $VERSION
+ _depmod
}
post_remove() {
- depmod $VERSION
+ _depmod
}
# vim:set ts=2 sw=2 et: