summarylogtreecommitdiffstats
path: root/planeshift.install
blob: fd51ed7b12b53ee141e75434bfcf375fe5fb5883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

post_install() {
  cat << EOF
==>
==> To be able to play, save configs, and update PlaneShift,
==> add your user to the games group:
==> # gpasswd -a USERNAME games
EOF
  post_upgrade
}

post_upgrade() {
  cat << EOF
==>
==> Updating PlaneShift before running it is recommended.
==>
==> If the fonts are garbled or ugly, try doing this:
==> Open up /opt/PlaneShift/data/config/r3dopengl.cfg in
==> a text editor and find this line:
==>
==>    Video.OpenGL.FontCache.UseMultiTexturing = yes
==>
==> Then change 'yes' to 'no'.
==>
EOF
}

op=$1
shift
[ "$(type -t "$op")" = "function" ] && $op "$@"

# vim:set ts=2 sw=2 et: