]> git.pld-linux.org Git - packages/Atari800.git/blame - Atari800-chooser
- simplified new bconds
[packages/Atari800.git] / Atari800-chooser
CommitLineData
d657d007
JB
1#!/bin/sh
2
e220bb90
JB
3if [ -n "$DISPLAY" -a -x /usr/bin/atari800-x11 ] ; then
4 exec /usr/bin/atari800-x11
d657d007 5else
e220bb90
JB
6 if [ -x /usr/bin/atari800-SDL ] ; then
7 exec /usr/bin/atari800-SDL
506ed555 8 elif [ -x /usr/bin/atari800-svga ] ; then
d657d007
JB
9 exec /usr/bin/atari800-svga
10 else
e220bb90 11 if [ -x /usr/bin/atari800-x11 ] ; then
d657d007
JB
12 echo "Cannot run Atari800 - DISPLAY not found."
13 echo "Atari800-x11 needs X-server running and DISPLAY variable set."
14 else
15 echo "Cannot run Atari800 - executable not found."
506ed555 16 echo "Install Atari800-x11, Atari800-SDL or Atari800-svga package."
d657d007
JB
17 fi
18 fi
19fi
This page took 0.11161 seconds and 4 git commands to generate.