SOURCES: urbanterror.sh - no gl functions or auto download here
glen
glen at pld-linux.org
Mon Feb 2 01:50:00 CET 2009
Author: glen Date: Mon Feb 2 00:50:00 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- no gl functions or auto download here
---- Files affected:
SOURCES:
urbanterror.sh (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/urbanterror.sh
diff -u SOURCES/urbanterror.sh:1.1 SOURCES/urbanterror.sh:1.2
--- SOURCES/urbanterror.sh:1.1 Tue Jan 27 15:25:12 2009
+++ SOURCES/urbanterror.sh Mon Feb 2 01:49:54 2009
@@ -1,29 +1,2 @@
-#!/bin/bash
-
-set -e
-
-. /usr/share/opengl-games-utils/opengl-game-functions.sh
-
-checkDriOK "Urban Terror"
-
-if [ ! -f ~/.q3a/q3ut4/zpak000.pk3 ]; then
- set +e
- /usr/share/autodl/AutoDL.py /usr/share/quake3/urbanterror.autodlrc
- STATUS=$?
- set -e
- # status 2 means download was ok, but the user choice not to start the game
- if [ "$STATUS" = "0" -o "$STATUS" = "2" ]; then
- pushd ~/.q3a > /dev/null
- unzip -qq -u UrbanTerror_41_FULL.zip
- # remove any old versions (if present) otherwise the mv fails
- rm -fr q3ut4
- mv UrbanTerror/q3ut4 .
- rm -r UrbanTerror UrbanTerror_41_FULL.zip
- popd > /dev/null
- fi
- if [ "$STATUS" != "0" ]; then
- exit $STATUS
- fi
-fi
-
-exec quake3 +set fs_game q3ut4 +set com_hunkMegs 256 "$@"
+#!/bin/sh
+exec quake3 +set fs_game q3ut4 +set com_hunkMegs 256 ${1:+"$@"}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/urbanterror.sh?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list