]>
Commit | Line | Data |
---|---|---|
d657d007 JB |
1 | #!/bin/sh |
2 | ||
e220bb90 JB |
3 | if [ -n "$DISPLAY" -a -x /usr/bin/atari800-x11 ] ; then |
4 | exec /usr/bin/atari800-x11 | |
d657d007 | 5 | else |
e220bb90 JB |
6 | if [ -x /usr/bin/atari800-SDL ] ; then |
7 | exec /usr/bin/atari800-SDL | |
d657d007 | 8 | else |
e220bb90 | 9 | if [ -x /usr/bin/atari800-x11 ] ; then |
d657d007 JB |
10 | echo "Cannot run Atari800 - DISPLAY not found." |
11 | echo "Atari800-x11 needs X-server running and DISPLAY variable set." | |
12 | else | |
13 | echo "Cannot run Atari800 - executable not found." | |
0d68c21d | 14 | echo "Install Atari800-x11 or Atari800-SDL package." |
d657d007 JB |
15 | fi |
16 | fi | |
17 | fi |