summaryrefslogtreecommitdiff
path: root/libre/virtualbox-modules/virtualbox-libre-modules.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-15 20:45:14 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-03-15 20:45:14 -0300
commitdce432e650325e7b9463e24ae987895ec73a0a39 (patch)
tree6b35a5cec1555124c88590380856a0441c990808 /libre/virtualbox-modules/virtualbox-libre-modules.install
parentb2471c84ef9e31dd8fb53255148619c815d8b9eb (diff)
downloadabslibre-dce432e650325e7b9463e24ae987895ec73a0a39.tar.gz
abslibre-dce432e650325e7b9463e24ae987895ec73a0a39.tar.bz2
abslibre-dce432e650325e7b9463e24ae987895ec73a0a39.zip
libre/virtualbox-modules
Diffstat (limited to 'libre/virtualbox-modules/virtualbox-libre-modules.install')
-rw-r--r--libre/virtualbox-modules/virtualbox-libre-modules.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/virtualbox-modules/virtualbox-libre-modules.install b/libre/virtualbox-modules/virtualbox-libre-modules.install
new file mode 100644
index 000000000..b542db1ca
--- /dev/null
+++ b/libre/virtualbox-modules/virtualbox-libre-modules.install
@@ -0,0 +1,17 @@
+post_install() {
+cat << EOF
+===> You may want to load vboxguest, vboxsf and vboxvideo
+EOF
+ EXTRAMODULES='extramodules-3.2-LIBRE'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.2-LIBRE'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.2-LIBRE'
+ depmod $(cat /lib/modules/$EXTRAMODULES/version)
+}