r5393 - in packages/trunk/warsow/debian: . scripts

Andres Mejia ceros-guest at alioth.debian.org
Wed Jan 16 01:12:18 UTC 2008


Author: ceros-guest
Date: 2008-01-16 01:12:18 +0000 (Wed, 16 Jan 2008)
New Revision: 5393

Modified:
   packages/trunk/warsow/debian/changelog
   packages/trunk/warsow/debian/scripts/warsow
   packages/trunk/warsow/debian/scripts/warsow-server
Log:
  * Use 'exit 1' when exiting from error in warsow and warsow-server script.


Modified: packages/trunk/warsow/debian/changelog
===================================================================
--- packages/trunk/warsow/debian/changelog	2008-01-16 01:05:52 UTC (rev 5392)
+++ packages/trunk/warsow/debian/changelog	2008-01-16 01:12:18 UTC (rev 5393)
@@ -4,6 +4,7 @@
   * Remove gnu.txt and license.txt from documentation.
   * Renamed warsow-tarball.sh to warsow-get-orig-source.
     + Modified script to make it more maintainable.
+  * Use 'exit 1' when exiting from error in warsow and warsow-server script.
 
  -- Andres Mejia <mcitadel at gmail.com>  Tue, 15 Jan 2008 19:37:36 -0500
 

Modified: packages/trunk/warsow/debian/scripts/warsow
===================================================================
--- packages/trunk/warsow/debian/scripts/warsow	2008-01-16 01:05:52 UTC (rev 5392)
+++ packages/trunk/warsow/debian/scripts/warsow	2008-01-16 01:12:18 UTC (rev 5393)
@@ -35,20 +35,20 @@
   xmessage -center "You're OpenGL installation doesn't support direct
 rendering. If you have an NVIDIA or an ATI card you'll probably need to
 install the propritary driver."
-  exit 0
+  exit 1
 fi
 
 WARSOW_MIN_TEXTURE_SIZE=2048 
 if [ "`glxinfo -l|grep GL_MAX_TEXTURE_SIZE| sed 's/.*= //'`" -lt "$WARSOW_MIN_TEXTURE_SIZE" ]; then
   xmessage -center "You're graphic card doesn't doesn't have enough memory to
 launch Warsow."
-  exit 0
+  exit 1
 fi
 
 case "$1" in
 	-h|--help)
 		echo -e ${HELP}
-		exit 0
+		exit 1
 		;;
 	-q|--quiet)
 		QUIET=1

Modified: packages/trunk/warsow/debian/scripts/warsow-server
===================================================================
--- packages/trunk/warsow/debian/scripts/warsow-server	2008-01-16 01:05:52 UTC (rev 5392)
+++ packages/trunk/warsow/debian/scripts/warsow-server	2008-01-16 01:12:18 UTC (rev 5393)
@@ -32,7 +32,7 @@
 case "$1" in
 	-h|--help)
 		echo -e ${HELP}
-		exit 0
+		exit 1
 		;;
 esac
 




More information about the Pkg-games-commits mailing list