]> git.pld-linux.org Git - packages/Atari800.git/blob - Atari800-chooser
- Up to 5.2.0.
[packages/Atari800.git] / Atari800-chooser
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
This page took 0.05569 seconds and 3 git commands to generate.