updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / savage2 / savage2.install
blob64b9ce1f917b6aa0f4f1409f8003c57c3e85b70e
1 post_install() {
2     # Update runpath
3     cd /opt/savage2
4     ./savage2_update.bin --update-runpath
6     echo "==> To disable automatic updates (they do not work), run the game once, then open"
7     echo "==>  ~/.savage2/game/startup.cfg and change the following line:"
8     echo '==>       SetSave upd_checkForUpdates "true"'
9     echo "==>  to:"
10     echo '==>       SetSave upd_checkForUpdates "false"'
13 post_upgrade() {
14     post_install $1
17 post_remove() {
18     echo "==> To completely remove Savage 2, you will need to manually remove"
19     echo "==>   /opt/savage2/ as root"
22 op=$1
23 shift
24 $op $*