summaryrefslogtreecommitdiff
path: root/community/virtualbox/virtualbox-archlinux-modules.install
blob: 40e979b05e5275d76ec72865d731d3d8ede4e012 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
KERNEL_VERSION='3.0-ARCH'

post_install() {
  cat << EOM

===> virtualbox-archlinux-modules post-install message:
===>
===> You may want to load vboxguest, vboxsf and vboxvideo
===>
===> To load them automatically, add them
===> to the MODULES array in /etc/rc.conf.

EOM

  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_remove() {
  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}

post_upgrade() {
  depmod -v $KERNEL_VERSION >/dev/null 2>&1
}