summaryrefslogtreecommitdiff
path: root/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/virtualbox-modules-lts/virtualbox-host-modules-lts.install')
-rw-r--r--community/virtualbox-modules-lts/virtualbox-host-modules-lts.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install b/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
index 07ecf7311..6c1a57d3a 100644
--- a/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
+++ b/community/virtualbox-modules-lts/virtualbox-host-modules-lts.install
@@ -1,18 +1,20 @@
-EXTRAMODULES='extramodules-3.0-lts'
+VERSION=''
post_install() {
cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
post_upgrade() {
- 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() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ depmod $VERSION
}
+
+# vim:set ts=2 sw=2 et: