diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-09 18:10:15 +0000 |
commit | c22ea1f9962983b3583d00085024413d77102212 (patch) | |
tree | acd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/ttyquake/files | |
parent | New version 'n cleanup (diff) | |
download | gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2 gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip |
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/ttyquake/files')
-rw-r--r-- | games-fps/ttyquake/files/digest-ttyquake-0.4.2 | 1 | ||||
-rw-r--r-- | games-fps/ttyquake/files/ttyquake | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/games-fps/ttyquake/files/digest-ttyquake-0.4.2 b/games-fps/ttyquake/files/digest-ttyquake-0.4.2 new file mode 100644 index 000000000000..877215aeea7d --- /dev/null +++ b/games-fps/ttyquake/files/digest-ttyquake-0.4.2 @@ -0,0 +1 @@ +MD5 bad02748bf8a07640792cb052db04eef ttyquake-0.4.2.tar.gz 269119 diff --git a/games-fps/ttyquake/files/ttyquake b/games-fps/ttyquake/files/ttyquake new file mode 100644 index 000000000000..e43cf8eb43c0 --- /dev/null +++ b/games-fps/ttyquake/files/ttyquake @@ -0,0 +1,26 @@ +#!/bin/sh +DISPLAY= +export LD_LIBRARY_PATH=GENTOO_LIBDIR:${LD_LIBRARY_PATH} + +if [ `whoami` = "root" ];then + echo "***********************************" + echo "* You can't run ttyquake as root. *" + echo "* Didn't you read the damn README *" + echo "* file? *" + echo "***********************************" + exit +fi + +if [ -u GAMES_BINDIR/squake ];then + echo "**********************************" + echo "* /squake is setuid. ttyquake *" + echo "* won't work unless you turn off *" + echo "* the setuid bit. As root, *" + echo "* please do: *" + echo "* chmod -s squake *" + echo "* and then run ttyquake again. *" + echo "**********************************" + exit +fi + +exec squake -nostdout $* |