]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | if [ -n "$DISPLAY" -a -x /usr/bin/atari800-x11 ] ; then | |
4 | exec /usr/bin/atari800-x11 | |
5 | else | |
6 | if [ -x /usr/bin/atari800-SDL ] ; then | |
7 | exec /usr/bin/atari800-SDL | |
8 | else | |
9 | if [ -x /usr/bin/atari800-x11 ] ; then | |
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." | |
14 | echo "Install Atari800-x11 or Atari800-SDL package." | |
15 | fi | |
16 | fi | |
17 | fi |