diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-09 02:37:38 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-09 02:37:38 -0300 |
commit | e5634e8efca541767daecea84f78641d0731ef69 (patch) | |
tree | f101a353555ec5f3a4aa91fb07449d2c562c9fc3 /libre/virtualbox-libre-modules/virtualbox-libre-host-modules.install | |
parent | e3fdada7281cd836ef37d5155ae99b53eb669821 (diff) | |
download | abslibre-e5634e8efca541767daecea84f78641d0731ef69.tar.gz abslibre-e5634e8efca541767daecea84f78641d0731ef69.tar.bz2 abslibre-e5634e8efca541767daecea84f78641d0731ef69.zip |
virtualbox-libre-modules: update install files
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: |