home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
updates
/
loki_demos
/
tribes2-preview-1.0a.run
< prev
next >
Wrap
Text File
|
2004-05-25
|
1MB
|
4,381 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=2026849782
MD5=00000000000000000000000000000000
label="Tribes 2 Preview 1.0a Update"
script=./update.sh
targetdir=tribes2_preview-1.0a
scriptargs=""
keep=n
TMPROOT=${TMPDIR:=/tmp}
finish=true; xterm_loop=;
[ x"$1" = x-xwin ] && {
finish="echo Press Return to close this window...; read junk"; xterm_loop=1; shift 1;
}
if [ x"$1" = "x-help" -o x"$1" = "x--help" ]; then
cat << tac
1) Getting help or info about $0 :
$0 --help Print this message
$0 --info Print embedded info : title, default target directory, embedded script ...
$0 --lsm Print embedded lsm entry (or no LSM)
$0 --list Print the list of files in the archive
$0 --check Checks integrity of the archive
2) Running $0 :
$0 [options] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--keep Do not erase target directory after running embedded script
--target NewDirectory Extract in NewDirectory
tac
exit 0;
fi
if [ x"$1" = "x-lsm" -o x"$1" = "x--lsm" ]; then
cat << EOF_LSM
no LSM
EOF_LSM
exit 0;
fi
if [ "$1" = "--info" ]; then
echo Identification: $label
echo Target directory: $targetdir
echo Uncompressed size: 3788 KB
echo Compression: gzip
echo Date of packaging: Wed Jun 6 09:53:55 PDT 2001
echo script run after extraction: $script $scriptargs
[ x"$keep" = xy ] && echo "directory $targetdir is permanent" || echo "$targetdir will be removed after extraction"
exit 0;
fi
if [ "$1" = "--list" ]; then
echo Target directory: $targetdir
tail +$skip $0 | gzip -cd | tar tvf -
exit 0;
fi
if [ "$1" = "--check" ]; then
sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
[ $sum1 -ne $CRCsum ] && {
echo Error in checksums $sum1 $CRCsum
exit 2;
}
if [ $MD5 != "00000000000000000000000000000000" ]; then
# space separated list of directories
[ x"$GUESS_MD5_PATH" = "x" ] && GUESS_MD5_PATH="/usr/local/ssl/bin"
MD5_PATH=""
for a in $GUESS_MD5_PATH; do
if which $a/md5 >/dev/null 2>&1 ; then
MD5_PATH=$a;
fi
done
if [ -x $MD5_PATH/md5 ]; then
md5sum=`tail +6 $0 | $MD5_PATH/md5`;
[ $md5sum != $MD5 ] && {
echo Error in md5 sums $md5sum $MD5
exit 2
} || { echo check sums and md5 sums are ok; exit 0; }
fi
if [ ! -x $MD5_PATH/md5 ]; then
echo an embedded md5 sum of the archive exists but no md5 program was found in $GUESS_MD5_PATH
echo if you have md5 on your system, you should try :
echo env GUESS_MD5_PATH=\"FirstDirectory SecondDirectory ...\" $0 -check
fi
else
echo check sums are OK ; echo $0 does not contain embedded md5 sum ;
fi
exit 0;
fi
[ x"$finish" = x ] && finish=true
parsing=yes
x11=y
while [ x"$parsing" != x ]; do
case "$1" in
--confirm) verbose=y; shift;;
--keep) keep=y; shift;;
--nox11) x11=n; shift;;
--target) if [ x"$2" != x ]; then targetdir="$2"; keep=y; shift 2; fi;;
*) parsing="";;
esac
done
if [ "$x11" = "y" ]; then
if ! tty -s; then # Do we have a terminal?
if [ x"$DISPLAY" != x -a x"$xterm_loop" = x ]; then # No, but do we have X?
if xset q > /dev/null 2>&1; then # Check for valid DISPLAY variable
GUESS_XTERMS="xterm dtterm eterm Eterm rxvt kvt konsole aterm"
for a in $GUESS_XTERMS; do
if which $a >/dev/null 2>&1; then
XTERM=$a
break
fi
done
chmod a+x $0 || echo Please add execution rights on $0
if [ `echo "$0" | cut -c1` = / ]; then # Spawn a terminal!
exec $XTERM -title "$label" -e "$0" -xwin "$@"
else
exec $XTERM -title "$label" -e "./$0" -xwin "$@"
fi
fi
fi
fi
fi
if [ "$keep" = y ]; then echo "Creating directory $targetdir"; tmpdir=$targetdir;
else tmpdir="$TMPROOT/selfgz$$"; fi
mkdir $tmpdir || {
$echo 'Cannot create target directory' $tmpdir >&2
$echo 'you should perhaps try option -target OtherDirectory' >&2
eval $finish; exit 1;
}
location="`pwd`"
echo=echo; [ -x /usr/ucb/echo ] && echo=/usr/ucb/echo
if [ x$SETUP_NOCHECK != x1 ]; then
$echo -n Verifying archive integrity...
sum1=`tail +6 $0 | cksum | sed -e 's/ /Z/' -e 's/ /Z/' | cut -dZ -f1`
[ $sum1 -ne $CRCsum ] && {
$echo Error in check sums $sum1 $CRCsum
eval $finish; exit 2;
}
echo OK
fi
if [ $MD5 != \"00000000000000000000000000000000\" ]; then
# space separated list of directories
[ x$GUESS_MD5_PATH = x ] && GUESS_MD5_PATH=\"/usr/local/ssl/bin\"
MD5_PATH=\"\"
for a in $GUESS_MD5_PATH; do
if which $a/md5 >/dev/null 2>&1 ; then
MD5_PATH=$a;
fi
done
if [ -x $MD5_PATH/md5 ]; then
md5sum=`tail +6 $0 | $MD5_PATH/md5`;
[ $md5sum != $MD5 ] && {
$echo Error in md5 sums $md5sum $MD5
eval $finish; exit 2;
}
fi
fi
UnTAR() { tar xvf - || { echo Extraction failed. > /dev/tty; kill -15 $$; } ; }
$echo -n "Uncompressing $label"
cd $tmpdir ; res=3
[ "$keep" = y ] || trap 'echo Signal caught, cleaning up > /dev/tty; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 15
if (cd "$location"; tail +$skip $0; ) | gzip -cd | UnTAR | (while read a; do $echo -n .; done; echo; ); then
chown -Rf `id -u`.`id -g` .
res=0; if [ x"$script" != x ]; then
if [ x"$verbose" = xy ]; then
$echo "OK to execute: $script $scriptargs $* ? [Y/n] "
read yn
[ x"$yn" = x -o x"$yn" = xy -o x"$yn" = xY ] && { $script $scriptargs $*; res=$?; }
else
$script $scriptargs $*; res=$?
fi
[ $res != 0 ] && echo "The program returned an error code ($res)"
fi
[ "$keep" = y ] || { cd $TMPROOT; /bin/rm -rf $tmpdir; }
else
echo "Cannot decompress $0"; eval $finish; exit 1
fi
eval $finish; exit $res
END_OF_STUB
ï #`;∞;mpTUû╖;═╨%êc╢
ç¢Nö8╦N^ ]π"»1ÆV╤εRflDHëåI$ L,τò±cjY%è.+çh¥~Ö╒]CÉ╘∞ñweg¡1╚çQ) ! ÿ8êÇ╔₧s∩yΘ╫Mw└┘¡┘2╓ú╗∩=_≈£s╧9≈▄τ▌╖zè∩╝⌡⌡⌡∞»÷ùº¬àà∙£q╬ï
≡3»¿@┐┼_^^╠╠Vè
gß@QA>π*√■V»¬/ÿsVU∙≡≥╒5ò½Æ┴UT«⌐¼a ∩■RV¡X┼W╫Uö╫W≥ç*«¼yä/»*_∙`σ*^_U╔δW╘╫T≥è½Ωj╩⌐¼α+Vèßè╩çjyM∙Ωò╦½x}mmMj*√÷∩o±o┘èò╣m<_-**H╛ 9W┼■/╩/T╒ⁿ┘0¡═.b╝α█² ╡╪┴èò½r┐i√├X▐¼ó╝YÉ≥f⌐│┐╡ ╫k ≥Ü║¬≥▄o╬■│TuvQß¼┬Y0=;oV■╖÷ &∞_S[╜ó┤«╝~y╒_┤■Kj ⁿY∙│a▐¼ f═*─°_0╗á≡█·∩δ°{∞╓≤φ6[è∙█╬nXoâ╧Fπ°⌐╤xúg≥(Ä╞▄,■¥╩ª0ä╖▌mû╧£┐S─≤ô1█Φ┐▀ëÖτ/?;Ih┼kï┴s╨3@ú─╟ⁿΣª⌠⌐─¡╫Ac[r╫Åh═╔ 2┘ogTì█Öu≤5┐┐à▒Ñ█;╖ΦFΩCï½3┘┐╧≡├8c┴]Ölτîb°▐s»-«f¼'╫ƒ π9ºuπDì9╛╘°^·∩o▒5₧»F·iÄæûƒ└ï╫àv≤µ╢╘yF≈4╖ä»q⌠ ▄G█╗_╤ì▀,[\m╩70≥Qûô▌╝e┌2º╒╬zv1vc;r▄r▓r├û₧⌐¥y∞≥╪Và}ö%∙≈ΣΓ·╓:vf!ñ╤▒yNhπ╜╬╨uaÜε╪¼kCZKìx<┐/π╣9!ße<º+Γp╙ çt£@ºçΦ8┘≡╢4╟pë┬╥▐Φ√σ£X*∞9╝╧Ω╞é5R∩▌);│╠9/╠)╠'µïi╛µ┐τΦ/æδnσ╣º}G?┼·₧oÅ⌠╟╩`söd░▄7û╔W·╖║ß▒▒╣\Ur#≡φÄ├%₧∩jZ≤àllOh"╙zô═A┤═▒▒ú½6o╗^│3m°∩║₧─≡╢░kπ═║±f⌐\WÅ}gûⁿ`Φ9Ä¢p╢╬δä3₧q┴╧╞ª╗║₧╓ì╠r~╠_?å*╤█B⌠ε'z)@uß]\3~ß ßOï├╧ⁿqÇz÷╘GJ≈éîⁿ7&Mòk¬Γïl┘┼┴╖܃ »ù┤║lÆ╓d╨ç9≈═╡╙£21╪3ºûπ¢,π¿çCUrⁿ)Ob╖&M±╡hJ.εïAS╬{H╬╡I╓nç=╟╪╝&»└M» \τù╝2Hå%╖₧ÉΦ┌ü╓jáσò|z±xâ┐Y5æl'`╙{=Nα?┘qñd$¡╘σ}Q7n╕M╥φd;│╝JZ;Φ4°]á▒√±9íαQ,▄║╔■æäkp╣í∩ LΦ╛ç#Åδ╞å╒r╛µ»g╜n╝sŽÇ1{f╚6é?⌡Ü0 E0┴▄Bδ ╗ó╠
≡pé╚πQΓæ░ª.Φ╥ñ╡òhÄ∞╠J¥¿b▌iBF÷în╜U╬∩⌡δQ9Bä█A╕ÖcΦ∞}/∙?╤ß`xBW▌ºàß╗≡█Åù╥· n£XSZ╕°1╥╗w$¬»'Iåⁿ⌐┤¢5∙3E≤ï`╗─?î=£∙αë·┬µ3╫kπ!╞└|╞├üF▌Hº╜╒9╝rA╧.£δh¥_ÿ┌p╬/uúÆ⌠╛i866¬ππó5>V╦°Φ∩O,#─╟╞ò≡9├] ╙ì┤»f.Ωa╨?└ÿ]`≤ ╞SÿπèÅπ~D√ⁿJ7ε#█|)u>tÄ{îöBăùmc«b╫┘L/╙µ≥═π<Z*─Rñπ ┌@å)╕╖A'╔╨tFFµ≥ ─ÜΘà<>╚ì╦é#)»p;½(N▐¥6°εÇ∩¼Tô≥-iåⁿù}╗ñSF≥ xé2∙-|O>(ß╒/╤╤¿ƒR«0Å└├}±UdX~▀O╛v≡b¼î═╒Γ},ó─µΘ╢ï╥~¼kx{▌;Q*lΘ&┤#;µÇU≡57½}Cc╧ßoa╙fïM█i]üïh╙₧▓)·°)└ò_√┼`e8\╟zÇΘ|R7V²î÷?¡├╦s█ß Ñ
¥£║\k╤σFΓ┘{m8¥Åα₧û√!ÜOaOÇ└╛⌡qSªFÆσ ô<Aáæ*bS«αTï∞┐"╪·"F
┐∞9╞æ≈_ì;C^₧nÇX2▄@±Åd< πƒ─}A7■mü£τD3∞εf╦B#)Ñ<à-+╢º╫#¼-u«k
╚ñuπy▓≈⌐≤ƃƒτFα *╚h─δΘNÆo└¢ruô\mτÑ\Ék<Hçdê±=ö├ΩwmÉ3ô@├═|M쬻╚qGJ\≈fza¼=└s9≥£î╣V)u∙ƒ╫ì╝U┤ I■à ?<A8V\\H2╕Å/Σ╡As∩O₧=M║±2±°┬─⌡_τ╥╨G╠╡╫Y╓>ë╓▐∙à\τáÅ╝▄"{47╦mç'5G°w╙╙╫~▓xµ1£W╡b=QXµà╝]▄¿µ╢7¬&U╣}Q¬π÷%U¡Xkû7²$²ÄE╤ü=╥⌠?╫₧t4óú]BG┬LL»^ä╕eDg|@.∞z@╩φñun₧├▒.∞Mà║╚t»ƒsal║+ ╓;∩■⌐┤µ=ä√÷╨╬¼Wá62m╛ÿl▐π┬_ ╛bXΘt╙ÉΣòj±#½.Ktδçñ.│╚ùj4FC,si ¼}σ?ÇE▓Ñ╧╙¼pÿ?»Y"a▓ú|{M╛~▀Γ{±£Σ;Ä÷9╞M/─═°\
▒k╞║⌡Ωσ≤W█9 ║·ôτX¼EDφry)v@lqo╔Vvπ▐╟₧è£rÖ2╡ î¢▒Γ|%┼┐sr═P▀ßÜ2Eε!8êí;╚■τd-ä┤═:eα_uc-═≈¥¡#9úyτc+5ïÉ£ge▐╔░Σ¥£$╣BU« ƒìµ■╬╪:D²╣-9c╔ö}╓¼≈bπ÷≡wÉìúεE¡╬\óª9t?┼┐32fτ@╠╬HÆo~@▒ª≤╓a_╒╪zb■|è gñ╙@Hï3O≈·╓k▓V~⌐ZtzÄlYqF·σ½I░▓i?╕╧╚╡:ß∞╨±▓ME╜≡Ap█0vn╨┤H▄>╣â╓{qP╩ê≡ƒ
¥╙░╧±w¥C¼≥?jæ?╟" [$hP╩ SÇC?C:ª.±ⁿ£C║ⁿÉ╬I⌡(└┼δ≥s¬┐FπêΘïV╜²Ü°╬$╛≈á|∩sD^ö∙aæτOf≥─ⁿ╠k╣5/[`┐▄Mτ ╧ú╝═5s∩ºëwΣs╔;_≡&╗L╬├ZkCë─»|─Kdδ_?&a î░i·ⁿKlz`▒ä╔ë╩█¢ô ÷-%y╔δ┤∞▌l╪╗╥J9Kq≈¿c≈7┌■D±∩P≥·=~_N┐▓╓φ╓zΩn▓ùΦè┌▌¼φ-0╖╠LÇI>Ñ╒@gs ▐l┌?Ä^G\>┴uå~{nΦZºh╛π3:╙A═O0òΩtäG▌+ñ√⌐ê·«ÉxìÇç≡ π$O'Q┐▐╧■▓·= S¬Æδ≈3éy{α≥·=F░┴ü▒⌡{Éαδ╖é⌠°j·ô~∙└ƒº▀╛■▒╧╟
≥\½┼tNδΦº| u╓?─>£ëç^╤ì,è│╧╩x&Ey 'ù╥|}⌠∞iΓª╙\`W╓ùá╧v%εînâ3⌐â╬~÷|0╛÷│┐æ_Σ÷<èWì╩Ω|W╗y╢qb^1╟τ5A.i┴>