summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules/virtualbox-libre-modules.install
blob: 8605cf20a00a1e29e9e621bbb5a377e03cd1d3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
    EXTRAMODULES='extramodules-3.5-LIBRE'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_upgrade() {
    EXTRAMODULES='extramodules-3.5-LIBRE'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
    echo 'In order to use the new version, reload all virtualbox modules manually.'
}

post_remove() {
    EXTRAMODULES='extramodules-3.5-LIBRE'
    depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}