r8635 - packages/trunk/teeworlds/debian/scripts
Gonéri Le Bouder
goneri at alioth.debian.org
Sun Jan 11 19:29:34 UTC 2009
Author: goneri
Date: 2009-01-11 19:29:34 +0000 (Sun, 11 Jan 2009)
New Revision: 8635
Modified:
packages/trunk/teeworlds/debian/scripts/teeworlds
Log:
fix the loop
Modified: packages/trunk/teeworlds/debian/scripts/teeworlds
===================================================================
--- packages/trunk/teeworlds/debian/scripts/teeworlds 2009-01-11 19:09:06 UTC (rev 8634)
+++ packages/trunk/teeworlds/debian/scripts/teeworlds 2009-01-11 19:29:34 UTC (rev 8635)
@@ -45,11 +45,11 @@
if [ ${QUIET} -ne 1 ]; then
echo "starting a loop to prevent screensaver wake up (htp://bugs.debian.org/480902)"
+fi
- while [ -d "/proc/$TEEWORLDPID" ]; do
- sleep 10
- xscreensaver-command -deactivate >&- 2>&-
- gnome-screensaver-command --poke >&- 2>&-
- done
-fi
+while [ -d "/proc/$TEEWORLDPID" ]; do
+ sleep 10
+ xscreensaver-command -deactivate >&- 2>&-
+ gnome-screensaver-command --poke >&- 2>&-
+done
exit $?
More information about the Pkg-games-commits
mailing list