summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-19 04:35:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-19 04:35:03 -0300
commitca760033c159aa61c25633927cce6cac579d5e5a (patch)
treeb907f010abd2fa9a70aaf3aa356f97bdbe720600 /libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
parent894b30d20dab8766112832351dbff9dc76dc2c62 (diff)
downloadabslibre-ca760033c159aa61c25633927cce6cac579d5e5a.tar.gz
abslibre-ca760033c159aa61c25633927cce6cac579d5e5a.tar.bz2
abslibre-ca760033c159aa61c25633927cce6cac579d5e5a.zip
virtualbox-libre-modules-4.2.0-2: changing names files
Diffstat (limited to 'libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install')
-rwxr-xr-xlibre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
new file mode 100755
index 000000000..c3419c991
--- /dev/null
+++ b/libre/virtualbox-libre-modules/virtualbox-libre-guest-modules.install
@@ -0,0 +1,17 @@
+post_install() {
+cat << EOF
+===> You may want to load vboxguest, vboxsf and vboxvideo
+EOF
+ EXTRAMODULES='extramodules-3.5-LIBRE'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.5-LIBRE'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.5-LIBRE'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}