#!/bin/sh if [ -n "$DISPLAY" -a -x /usr/bin/atari800-x11 ] ; then exec /usr/bin/atari800-x11 else if [ -x /usr/bin/atari800-SDL ] ; then exec /usr/bin/atari800-SDL else if [ -x /usr/bin/atari800-x11 ] ; then echo "Cannot run Atari800 - DISPLAY not found." echo "Atari800-x11 needs X-server running and DISPLAY variable set." else echo "Cannot run Atari800 - executable not found." echo "Install Atari800-x11 or Atari800-SDL package." fi fi fi