summaryrefslogtreecommitdiff
path: root/src/unix/setup/ioquake3.sh
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2006-01-10 02:26:28 +0000
committerTim Angus <tim@ngus.net>2006-01-10 02:26:28 +0000
commit96ecc6d28bba6bd6ebda3e02d43b7fd466d4ab67 (patch)
tree42cea7e9094eaa70603b78b8685a336792db3a03 /src/unix/setup/ioquake3.sh
parent7d96b51fbc8b0df8ebf348de2aa5f2058254ed93 (diff)
* Removed Q3 icons
* Removed ludwig's loki setup dir * Added Tremulous icons
Diffstat (limited to 'src/unix/setup/ioquake3.sh')
-rw-r--r--src/unix/setup/ioquake3.sh44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/unix/setup/ioquake3.sh b/src/unix/setup/ioquake3.sh
deleted file mode 100644
index 39c651ca..00000000
--- a/src/unix/setup/ioquake3.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-readlink() {
- local path=$1 ll
-
- if [ -L "$path" ]; then
- ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
- echo "${ll/* -> }"
- else
- return 1
- fi
-}
-
-script=$0
-count=0
-while [ -L "$script" ]
-do
- script=$(readlink "$script")
- count=`expr $count + 1`
- if [ $count -gt 100 ]
- then
- echo "Too many symbolic links"
- exit 1
- fi
-done
-cd "`dirname $script`"
-
-
-lib=lib
-test -e lib64 && lib=lib64
-
-if test "x$LD_LIBRARY_PATH" = x; then
- LD_LIBRARY_PATH="`pwd`/$lib"
-else
- LD_LIBRARY_PATH="`pwd`/$lib:$LD_LIBRARY_PATH"
-fi
-export LD_LIBRARY_PATH
-
-arch=`uname -m`
-case "$arch" in
- i?86) arch=i386 ;;
-esac
-
-exec ./ioquake3.$arch "$@"