summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install13
-rw-r--r--libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install15
2 files changed, 15 insertions, 13 deletions
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
index 3a8199ff8..82bda9855 100644
--- a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
+++ b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
@@ -1,17 +1,18 @@
+VERSION=''
+
post_install() {
cat << EOF
===> You may want to load vboxguest, vboxsf and vboxvideo
EOF
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
post_upgrade() {
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
post_remove() {
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install
index 0a6d187e5..6c1a57d3a 100644
--- a/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install
+++ b/libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install
@@ -1,19 +1,20 @@
+VERSION=''
+
post_install() {
cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
post_upgrade() {
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
- echo 'In order to use the new version, reload all virtualbox modules manually.'
+ depmod $VERSION
+ echo 'In order to use the new version, reload all virtualbox modules manually.'
}
post_remove() {
- EXTRAMODULES='extramodules-3.8-LIBRE'
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
+
+# vim:set ts=2 sw=2 et: