blob: da5db1a8fe71c7ff24bbc9724fca6be5ad573eea (
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
|
adv(){
echo -e "make sure to have this modules loaded: \n\tvboxdrv\n\tvboxnetflt\n\tvboxnetadp\n\tvboxpci"
echo "you can simply add them to /etc/modules-load.d/virtualbox.conf with this command:"
echo "# echo -e \"vboxdrv\\nvboxnetflt\\nvboxnetadp\\nvboxpci\" > /etc/modules-load.d/virtualbox.conf"
}
remove_slink(){
# in previous version install script created symbolic links
[[ -s /usr/local/bin/genymotion ]] && rm /usr/local/bin/genymotion
[[ -s /usr/local/bin/genymotion-shell ]] && rm /usr/local/bin/genymotion-shell
}
post_install() {
adv
}
post_upgrade() {
remove_slink
adv
}
post_remove() {
remove_slink
}
|