summaryrefslogtreecommitdiff
path: root/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install')
-rw-r--r--community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install b/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install
new file mode 100644
index 000000000..f7526e308
--- /dev/null
+++ b/community/virtualbox-modules-lts/virtualbox-guest-modules-lts.install
@@ -0,0 +1,21 @@
+_depmod() {
+ EXTRAMODULES='extramodules-3.0-lts'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_install() {
+ cat << EOF
+===> You may want to load vboxguest, vboxsf and vboxvideo
+EOF
+ _depmod
+}
+
+post_upgrade() {
+ _depmod
+}
+
+post_remove() {
+ _depmod
+}
+
+# vim:set ts=2 sw=2 et: