blob: 1e92d429311fe2574b3333eb6dc82e276745b2e9 (
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
25
26
|
post_install () {
VBoxManage extpack install --accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb "/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-$1.testbuild.vbox-extpack" >/dev/null
cat <<EOF
!!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
You are installing/upgrading a test build, see https://www.virtualbox.org/wiki/Testbuilds for more information
!!!WARNING!!! !!!WARNING!!! !!!WARNING!!!
EOF
}
pre_upgrade() {
post_remove "$@"
}
post_upgrade() {
post_install "$@"
}
post_remove() {
VBoxManage extpack uninstall 'Oracle VM VirtualBox Extension Pack' >/dev/null
}
# vim:set ts=2 sw=2 ft=sh et:
|