diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-13 12:53:48 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-13 12:53:48 -0400 |
commit | f6fde4b83792b43883cdccac2a46145d48cef42d (patch) | |
tree | 9de2ea480baf7073f53b3bf5d88dc1e48cbf9fa0 /libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install | |
parent | 78bf47e43de121f3460b6c6f608bd5f5b8a85f28 (diff) | |
parent | 3bc640f96a0afc77163253ad0ed504057c8e7e00 (diff) | |
download | abslibre-f6fde4b83792b43883cdccac2a46145d48cef42d.tar.gz abslibre-f6fde4b83792b43883cdccac2a46145d48cef42d.tar.bz2 abslibre-f6fde4b83792b43883cdccac2a46145d48cef42d.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install')
-rw-r--r-- | libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install | 15 |
1 files changed, 8 insertions, 7 deletions
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: |