summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install')
-rw-r--r--libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install15
1 files changed, 10 insertions, 5 deletions
diff --git a/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install b/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
index 54a052390..923bd68e3 100644
--- a/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
+++ b/libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install
@@ -1,16 +1,21 @@
-EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+_depmod() {
+ EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
+ depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+}
post_install() {
-cat << EOF
+ cat << EOF
===> You may want to load vboxguest, vboxsf and vboxvideo
EOF
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
post_upgrade() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
post_remove() {
- depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
+ _depmod
}
+
+# vim:set ts=2 sw=2 et: