]> git.pld-linux.org Git - packages/Atari800.git/blobdiff - Atari800-chooser
- release 2
[packages/Atari800.git] / Atari800-chooser
index ff6d300fcc1478a59b910bad47b4be00169d8231..5b6f5e5ce2cfd9a4c97828f7df3d814e01e641e0 100644 (file)
@@ -1,17 +1,19 @@
 #!/bin/sh
 
-if [ -n "$DISPLAY" -a -x /usr/X11R6/bin/atari800-x11 ] ; then
-  exec /usr/X11R6/bin/atari800-x11
+if [ -n "$DISPLAY" -a -x /usr/bin/atari800-x11 ] ; then
+  exec /usr/bin/atari800-x11
 else
-  if [ -x /usr/bin/atari800-svga ] ; then
+  if [ -x /usr/bin/atari800-SDL ] ; then
+    exec /usr/bin/atari800-SDL
+  elif [ -x /usr/bin/atari800-svga ] ; then
     exec /usr/bin/atari800-svga
   else
-    if [ -x /usr/X11R6/bin/atari800-x11 ] ; then
+    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-svga package."
+      echo "Install Atari800-x11, Atari800-SDL or Atari800-svga package."
     fi
   fi
 fi
This page took 1.422027 seconds and 4 git commands to generate.