]>
Commit | Line | Data |
---|---|---|
d657d007 JB |
1 | #!/bin/sh |
2 | ||
3 | if [ -n "$DISPLAY" -a -x /usr/X11R6/bin/atari800-x11 ] ; then | |
4 | exec /usr/X11R6/bin/atari800-x11 | |
5 | else | |
506ed555 JB |
6 | if [ -x /usr/X11R6/bin/atari800-SDL ] ; then |
7 | exec /usr/X11R6/bin/atari800-SDL | |
8 | elif [ -x /usr/bin/atari800-svga ] ; then | |
d657d007 JB |
9 | exec /usr/bin/atari800-svga |
10 | else | |
11 | if [ -x /usr/X11R6/bin/atari800-x11 ] ; then | |
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 | |
19 | fi |