summaryrefslogtreecommitdiff
path: root/community-testing/virtualbox-modules/virtualbox-guest-modules.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/virtualbox-modules/virtualbox-guest-modules.install')
-rw-r--r--community-testing/virtualbox-modules/virtualbox-guest-modules.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community-testing/virtualbox-modules/virtualbox-guest-modules.install b/community-testing/virtualbox-modules/virtualbox-guest-modules.install
new file mode 100644
index 000000000..15d536b7f
--- /dev/null
+++ b/community-testing/virtualbox-modules/virtualbox-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-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_upgrade() {
+ EXTRAMODULES='extramodules-3.5-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
+
+post_remove() {
+ EXTRAMODULES='extramodules-3.5-ARCH'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}