summarylogtreecommitdiffstats
path: root/genymotion.install
blob: e4c7037ca7f3e748c0be008eef8709b841584e05 (plain)
1
2
3
4
5
6
7
8
9
remove_slink(){
    # if 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
}

pre_install() {
    remove_slink
}