diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/sauerbraten/sauerbraten-client |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sauerbraten/sauerbraten-client')
-rwxr-xr-x | community/sauerbraten/sauerbraten-client | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/sauerbraten/sauerbraten-client b/community/sauerbraten/sauerbraten-client new file mode 100755 index 000000000..8a9b354f3 --- /dev/null +++ b/community/sauerbraten/sauerbraten-client @@ -0,0 +1,14 @@ +#!/bin/sh + +WIDTH=1024 +HEIGHT=768 +[ -f /etc/conf.d/sauerbraten ] && . /etc/conf.d/sauerbraten + +cd /opt/sauerbraten +if [ -f /usr/bin/aoss ]; then + aoss bin/linux_client -w$WIDTH -h$HEIGHT -q${HOME}/.config/sauerbraten -r +else + bin/linux_client -w$WIDTH -h$HEIGHT -q${HOME}/.config/sauerbraten -r +fi + + |