summaryrefslogtreecommitdiffstats
path: root/savage2/savage2.install
blob: 5182e85ff6f99a617b508e897ed57ae123e1dedf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
    # Update runpath
    cd /opt/savage2
    ./savage2_update.bin --update-runpath    
}

post_upgrade() {
    post_install $1
}

post_remove() {
    echo "==> To completely remove Savage 2, you will need to manually remove"
    echo "==>   /opt/savage2/ as root"
}

op=$1
shift
$op $*