summarylogtreecommitdiffstats
path: root/planeshift.install
diff options
context:
space:
mode:
authorAlexander F Rødseth2015-06-10 15:17:05 +0200
committerAlexander F Rødseth2015-06-10 15:17:05 +0200
commitd6335cee86ef5f841895112d92f2ca850a563b70 (patch)
treef74d4313470814fae8828e3227b118ee32ee2b00 /planeshift.install
downloadaur-planeshift.tar.gz
Initial import
Diffstat (limited to 'planeshift.install')
-rw-r--r--planeshift.install32
1 files changed, 32 insertions, 0 deletions
diff --git a/planeshift.install b/planeshift.install
new file mode 100644
index 000000000000..fd51ed7b12b5
--- /dev/null
+++ b/planeshift.install
@@ -0,0 +1,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: