summarylogtreecommitdiffstats
path: root/openra-d2.install
blob: e929193a34cb331184b14733ef685ee82c23dd69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_upgrade() {
    update-desktop-database -q
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_install() {
    echo "If the game doesn't run, try using the Cg renderer ~/.openra/settings.yaml like so:"
    echo "Graphics:"
    echo "        Renderer: Cg"
    echo "Be careful to only use one indenting tab with 8 shift width."
    echo "Original game assets are required in order to play this game."
    post_upgrade
}

post_remove() {
    echo "openra downloaded data files to ~/.openra/Content and you might want"
    echo "to delete those."
    post_upgrade
}