r6552 - packages/trunk/teeworlds/debian/scripts
Jack Coulter
jscinoz-guest at alioth.debian.org
Tue Apr 15 09:40:25 UTC 2008
Author: jscinoz-guest
Date: 2008-04-15 09:40:25 +0000 (Tue, 15 Apr 2008)
New Revision: 6552
Modified:
packages/trunk/teeworlds/debian/scripts/teeworlds
packages/trunk/teeworlds/debian/scripts/teeworlds-server
Log:
changed launcher scripts to avoid patching upstream
Modified: packages/trunk/teeworlds/debian/scripts/teeworlds
===================================================================
--- packages/trunk/teeworlds/debian/scripts/teeworlds 2008-04-15 09:36:17 UTC (rev 6551)
+++ packages/trunk/teeworlds/debian/scripts/teeworlds 2008-04-15 09:40:25 UTC (rev 6552)
@@ -1,5 +1,6 @@
#!/bin/sh
# Adapted from Urban Terror launch scripts
+BASE_PATH=/usr/share/games/teeworlds/
BINARY=/usr/lib/games/teeworlds/teeworlds
QUIET=0
EXCUSE="\
@@ -33,6 +34,8 @@
# Ready to rumble!
+cd ${BASE_PATH}
+
if [ ${QUIET} -eq 1 ]; then
exec ${BINARY} $* >/dev/null 2>&1
else
Modified: packages/trunk/teeworlds/debian/scripts/teeworlds-server
===================================================================
--- packages/trunk/teeworlds/debian/scripts/teeworlds-server 2008-04-15 09:36:17 UTC (rev 6551)
+++ packages/trunk/teeworlds/debian/scripts/teeworlds-server 2008-04-15 09:40:25 UTC (rev 6552)
@@ -1,5 +1,6 @@
#!/bin/sh
# Adapted from Urban Terror launch scripts
+BASE_PATH=/usr/share/games/teeworlds/
BINARY=/usr/lib/games/teeworlds/teeworlds_srv
QUIET=0
EXCUSE="\
@@ -33,6 +34,8 @@
# Ready to rumble!
+cd ${BASE_PATH}
+
if [ ${QUIET} -eq 1 ]; then
exec ${BINARY} $* >/dev/null 2>&1
else
More information about the Pkg-games-commits
mailing list