summarylogtreecommitdiffstats
path: root/savage2.install
blob: c17c61b3c273c77522d79ab0404c0422c0854b4d (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 $*