diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-07-17 05:19:48 -0300 |
commit | 0a32dd5aab83123487e6988ec37e7e5385c3aef6 (patch) | |
tree | 760f093c15bf512361439acc7b998f04fdd0cb5b /libre/virtualbox-libre-modules-lts/virtualbox-libre-guest-modules-lts.install | |
parent | 7d3151cb257dcb2aeacf52bad5d96041677754a2 (diff) | |
parent | 201a3a8a986287b2f54d01e7c5e4bbeba8c37040 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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.install | 15 |
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: |