summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre-modules-lts/virtualbox-libre-host-modules-lts.install
blob: 97212dba18b9fc207f2aa9105fb9415c51c792ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
_depmod() {
  EXTRAMODULES='extramodules-3.0-LIBRE-LTS'
  depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)
}

post_install() {
  cat << EOF
===> You must load vboxdrv module before starting VirtualBox:
===> # modprobe vboxdrv
EOF
  _depmod
}

post_upgrade() {
  _depmod
  echo 'In order to use the new version, reload all virtualbox modules manually.'
}

post_remove() {
  _depmod
}

# vim:set ts=2 sw=2 et: