Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87303 Details for
Bug 134005
Unreal Tournament Infiltration: Can't manually fetch file.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Startup script
infiltration (text/plain), 2.37 KB, created by
Chris Mortimore
on 2006-05-23 02:32:14 UTC
(
hide
)
Description:
Startup script
Filename:
MIME Type:
Creator:
Chris Mortimore
Created:
2006-05-23 02:32:14 UTC
Size:
2.37 KB
patch
obsolete
>#!/bin/sh ># ># Unreal Tournament - Infiltration ># ># Chris Mortimore (chris.mortimore@googlemail.com) ># ># Modified from the StrikeForce script by ># -samppa- (samppa@butthead.ton.tut.fi) ># > ># This is a horrible fix because FindPath didn't do it's job >UT_DATA_PATH="/opt/unreal-tournament/System/" > ># The user preferences directory >UT_PREFS="${HOME}/.loki/ut" > ># Infiltration files >INF_INI="Infiltration.ini" >INF_USER="InfiltrationUser.ini" >INF_LOG="Infiltration.log" > ># Function to find the real directory a program resides in. ># Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software >FindPath() >{ > fullpath="`echo $1 | grep /`" > if [ "$fullpath" = "" ]; then > oIFS="$IFS" > IFS=: > for path in $PATH > do if [ -x "$path/$1" ]; then > if [ "$path" = "" ]; then > path="." > fi > fullpath="$path/$1" > break > fi > done > IFS="$oIFS" > fi > if [ "$fullpath" = "" ]; then > fullpath="$1" > fi > # Is the awk/ls magic portable? > if [ -L "$fullpath" ]; then > fullpath="`ls -l "$fullpath" | awk '{print $11}'`" > fi > dirname $fullpath >} > ># Set the home if not already set. >if [ "${UT_DATA_PATH}" = "" ]; then > UT_BASE_DIR="`FindPath $0`" # -samppa- > UT_DATA_PATH="${UT_BASE_DIR}/System" >fi > >LD_LIBRARY_PATH=.:${UT_DATA_PATH}:${LD_LIBRARY_PATH} > >export LD_LIBRARY_PATH >export UT_DATA_PATH > >create_prefpath() >{ > path="${UT_PREFS}/$1" > if [ ! -d "$path" ]; then > echo "Creating directory $path" > mkdir "$path" > fi >} > >copy_if_needed() >{ > dist="${UT_BASE_DIR}/$1" > file="${UT_PREFS}/$1" > if [ ! -f "$file" ]; then > echo "Installing default $file" > cp "$dist" "$file" > fi >} > ># Hey, it's fun time! >if [ ! -d ${HOME}/.loki ] >then > mkdir ${HOME}/.loki >fi > >if [ ! -d ${UT_PREFS} ] >then > echo "Creating preferences directory..." > create_prefpath >fi >create_prefpath System > ># Copy Infiltration files to users home (~/.loki/ut/System) ># For some reason it fails to copy the InfiltrationUser.ini file. Don't know why, but it runs. >copy_if_needed System/${INF_INI} >copy_if_needed System/${INF_USER} > ># Let's boogie! >if [ -x "${UT_DATA_PATH}/ut-bin" ] >then > cd "${UT_DATA_PATH}/" > exec "./ut-bin" -log -log=${INF_LOG} -ini=${INF_INI} -userini=${INF_USER} >fi >echo "Couldn't run Unreal Tournament (ut-bin). Is UT_DATA_PATH set?" >exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 134005
:
87289
| 87303 |
87304
|
87354
|
119583