home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
open-source
/
loki_update
/
loki_update-full-1.0.13-x86.run
< prev
next >
Wrap
Text File
|
2001-07-06
|
2MB
|
5,858 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=515983536
MD5=00000000000000000000000000000000
label="Loki Update Tool 1.0.13 Install"
script=./setup.sh
targetdir=loki_update-full-1.0.13-x86
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: 4600 KB
echo Compression: gzip
echo Date of packaging: Fri Jul 6 13:57:46 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
ï J&F;∞Z ╕$Eæε≈fµ═P├9èφ╕├╤∩╛å' ╠s9çCuwuw±¬½Ü¬Ω≈^+ó½á¿¿ é+┬
««óé ,ù^╚«"(┬*ó."rêdFVe╒t#
▀εGCNfΣ⌡╓-]r≡¬Ñ╣Φop``ll─╠Öª9>6J⌡α°ΦÇDZ─╚╨╨°╚≡≡8&ÜââC9s ≈ⁿÜadªÖ½┘A⌐Θ┌aºye{╩vs ∩~╞J╥176╩Vd¢|▀5√├XßEü_nû"╟≈î²┤ƒ▒íµä&■╖╠êªON┘₧YlÖ╒z┐M[ü]0WxÑ╛éY╢CºΩ┘e╠6ï╢┘╤t<úΣ{╟7=ü▐£vóÜ╒l'0C;j6L╦+¢+*╒&¥H∞╥j½∙u+rJûδ╢╠ª ┘p<╚╧uü┤!Θ√@²Jºd{íπUì▌ròñ£╬0e9«Utm│ΓD¢┘⌠╩v@─ÿ╦Wo4ù█₧X«╣╢Yt¥Æ)╤┌┤├üVêÄ5o╞"┌mÖäæ└úoΘ·■d(≈╜▓φDíφV
Γ╪NU╦Γ
F·Φe┌s}½èVúß:└ä╜Ωó#░IÑ┴╙\A╪ΣîÆñ╙│Ω6¥╝ΩLAh`>æX≥δuZΘ:Σ╓Öh∞«7óÜ ╠-Æ¡▒g£0╧⌡²
⌐Θ─èΦ8íΘ┴ü▐∞εá╒≤#ªùXú>U¢u█ïBA╢VÜÇ∞ 4pnçZtl╩6δ~τå«╒£RMnB╨%L≤φRñΘé.∞╪N╟└┌HεÿâÉ«µT¼$P(▒J▌Ü╙}f¢ádQ@Æ₧ΘW┤σαÇ┌─.│Pìσkù¢t▒¼¿╪)U.ªê
╫-Y(¿╖√N┘üSi╤å<¼D+╘>â╪[Θ╕}┴3Æ░4PΓ╝FΦ╫ëz+$⌐╓Ç╖½5K5╗46δΘâ$⌠│$&⌐3}╞┤:æQ═≈C[ÿ XhX3¡ñ@k╧╪Ñfdùl:BqN£.▀█δ∙3âây1 ÉX«█y╙o╨fñ8╢δÆ┌
[cMR╥H;ÆZCZ┌áLª▀îL▄xü╚¬┌ñUê╓╨├ΩÆx╙î⌐ùΓâ╛6\·TÉⁿVjº╬"/á⌠«ëù╕gxπùJ═ 43≈Å,äBì¢C╢w«5«wh╓,h╝eå╗Σ└zUl)╠b╙q#║╛4≥. ⌐?m╢ⁿ&No╨Θët┬█esQo»▄vs¡ô9ÄìÉ╝╓lëää=ΓÉk6\½E÷ô_£â ì╢÷sC╞@ñ═║00; 6É▄Uç-┌╪«D╚l╥*Γ&1[╝HΘùD⌐HiRƒ)∩'¼p_X3├Rα4"⌡▓x┘╓Gvúf┴▐¼╖╨┐Aë7yíR&█¼~╜▌â(ù╢┘-²a⌡äQïó╞D ⌠⌠tƒLB╢}Éy Iu╗jàá⌐_!Ω7ÆK├Fè0&ûK╚ÆòD>▓D╡░ÿç%S.Ñ!ªA≤┴╞u+┴7^ jWë╘╦uñÑ╥═eäG╓Pïë#4IX-:╢╦⌐?╠Gd╧Dñ╓çlX╡RèÑoL\.éEä╥╕n=Ä<▌╡ ├X+wÖ0ç╣ç
MKéR═ë`╦í∞≡è%⌠╔g▓ïN)╕äAäo╥nM√A┘Oú▓╝r
¿
σ5f«(Mf₧G≤&╠Çó*F*Y.┤Ü£!]jW@ ≤üv2╥;ÖxºÜΓ&à5╪╚─·1æjÜåæê3▓─Öyܱ(ô¼ÖÆ╝T╗*PÅá3}8╚4]D!╟├╜N╧îU@╜CV%▓â⌠¢&]Ñq7lFf┘aºL╛OΩûªÅ`EV╤
q▒ñ!╧∙)├─~Θ"¿eΩ╛≥ü-MgU¢8£IxP┬å╗ó^_#╘▐H╝è°Sûδ¿├òφè╒tÑ┬∙╕ⁿ╥)hÑ⌡δ∞Æ_⌡£╖a'VIaT&╠Ö┼c│╤(Aα.╠Pëòc#ÇßE╡î╒÷t▓¿n╡╧╦e⌐x┼≡┌╧÷òöb;P.Üe£+pèM∙°≥ªK╧ù,·É┌b▌ïαêªFäΩ9ÿB├ú│Ju∩P▀@╥ⁿ╗sCy¡╕gnY╞>¥ÿí?f
Ä'xa$╝P┼Ç]»─Zg∩¥║ⁿ╛M■ÿ!∙E║.' n!Ü╜¬râ╙╬úû¼Ç|Gy║ε╔Q"u ªxD∙ê═F5Çú&L║ó Äéú@÷█rCƒÿÜRæⁿj?élè«U Σyƒ°é╩τÇ@0v┤;cδ└∩ì: 4åbΓ-K┬íßåÆ'ñé┼≤éê╪?└m±)¬"g┌égëeªU$o╬Rï
4┴≡=`≥l╔ :£⌠ N+∙%SÅ₧£y¼╗.a│╤≡Å┼ïÿOßï`;╟#┐%┤│æZL▐C┤!äY⌐╪─93_q¡)?╚o÷dæú╥±╕ûQß w/è#5m≥┼éë#"è╥▄0c¡Nmî╨▄aÜ∞é■Jâ4è├≥X▌δ{yó╠₧iX₧É-╣`ª⌠b╤ü¿\W½CQ┘ö╜º¡^o├▄ïd▐┌l_@ß
╦3p╕%«ÿΣx2═mª)}3Θ⌠9^åjƒ└F ▄£xï|╠º|∞3µ`o≡⌐hπ╚┬ª=≥∞ò$S²ZΩ╧»πò┼■ⁿ╞ß╪E─;äD≈HΓ╞Df╠R*f╘±│?√L┌ìa'WαÅULªx╬o╧⌐#hδ`èñMß▓uπÑⁿ└ädR║┼&σv─ú┬≈CyóX▀ⁿ∞j▒╟4┬⌠½┌H#ßL▓6σ1≡«èΣ─wRO ±¢î ╠
~╢#Vh=ε«î┌u~ç-≡{Ffä±%1qèKíûz─ô,⌐HéáéR)râ[IPå¿ìRJ>^│^öεóv=h╣H╝k;Θ<!│)ƒG±'b»[áanêÿF╚┤ ═;₧╓ÆàáôèE╪hΘîE┴⌐≡
¬╛_ªGú∞$æB>╣▒y([╡&D"ΓNùR¡ª]v"?F▌ câRBú~â▓>&╝9⌠╪┼U╞2acf,I▌mSÜK± ┌2┴!²è│g"[Ñ═dbçe░(RP5ï≥J6Ö│ÆìαM°eÉÇ8ÑdT╛╞ö1pⁿr┴ }É~Cá¿[ÇR≈¢₧p <▀δ¥&»Nö+A}[Γ╢d½pC█₧/fe~░o└\kδä╡╝x╨3╪[╢δ~^`9zσG*²F⌐ùGLzya⌡}£-0D*S9
⌐Çß"bº╘t¡ÇL╕U╕¡vâ┤
å¿qNÖî.▄D6ÜφMb╣Bÿ2=≡ñöÇím¿0┼*Ördd┴ëOV~Ö$║Θ]∩KGëûF7Cñ╒,JK╞op┴T'êτûtÆÆ╚k£⌐╘2ù7ßàe╨╙#Γ▄ƒε5É»'.dXs≥╓SjÄ╬Ω"·w9╒╞Θ>#▓&╔═¥▓dv
"Po£ê#πúg▄╚?ë -╒Θ'1(ÑZ≡█Ω╥±ó┤áL9JôL;Öw≥±ra█é║Fü▀!AÖBç⌐µTI█ö6=ñlûæ╠çxP½ƒ$¥.4V╤├½%ß╪╣█î∙*±P┴eâπÑR,Uè▄τ╒~╚m ▒▒j:f°Ir+ñ[I╣Θ═Σù═½╟⌐j╩B≥ƒOäWî~&^°Γp╕╝■^ÿ╝σôP╢ï═¬FÇ└PiΓÜêæ6∞lCæ╚░ôπÅ¢G╓±┼Σ∙ö╚:*╚2─¥'í²┤Ä≤çb╝├σéU}æ╬Ñ<º\e°Jè/ÿ└E╜╜Q╜ PL├╞¢2âΣæ0>₧fO╝╓*√N_ôä¡J&░Kü¢[kë┌Snóû:QºßCq±─╦%,ïpNΩY┴~·gô\╓_äΩvdmj.Ñ√≥Cäd+1╔Å0ò/8[╚ 1ƒnj?lwô▐'α<+Öâ¿&┤:╘ë┴è0■J┬Aí÷q├ïΓ╚=░╔}¢▓R@O$╕ül┌v)+¼⌠Bjós╡\ë_1MΣH┼ù!+ñê┼Éyb╛NLéΣIr[╓xZRKëçr┤╢-cDΘêF5t╨këƒ─,°M╚▀|(▌T:¿M░╤δΩûZ┌■·á≡Γñ╢î|▌í╧ y╔╨ç▀≥ú╓bφ╩<>╣kΣ&Hà 2·ºôÆ≥╝hëgò┌ú(╥┬QÅsi┬EzGΦQ3RÆτ┌╤"IDè@≥Γ \╛ÆÜ╨╖╩ 9½)%ô~#0╙├E
òôµa«æΣ╠ST╘τU┼ú2{mpφ
¥«E»ÿ?Äüñ
Åyá╡₧$ZS≥f╠Ç┤∞$uBY█▐QDY░ƒ≡╬7I┴÷E3æd^┌l2CJï.JÑ)Rö±τ╞─Æ┼█'qò@@>èò■₧╖∙╟]a√╙|ª(çê╤
6yìπîG≥ò░╙ô¡Ñ²IÅΦφ²*⌐ c∙êⁿ[6JåppBXM¥╡cdéÄXê╜Γ╘öEîx3▌H$íïxä∙#mI*0┤∩NΓ│MèIdoÆ┐sXo╒═ò⌐W╒é╤■3╧ æ┐ (:^ ?zsd`||┤╙▀ ╨o #├Câ#C├ââC╧Öú»ⁿ²╧K" Ö┼c²/┐ⁿç╞åçåç╞Θ∩┐å╟å^æ K) °πI ╦& ±ßß±┴ü┤ç╞G^æ ╦$ j4╣)¼mj:}í w√√╧╬≥╨Σ?<åß╤æßíW■■≤Ñ°╜sΘ╩e]]]1< t▄ô╣▄Ωçvï■æ£ëæ=r;τv╩uep▄▒c╖(s╪6'╞∩|╧▓\9/ù[╕w.╫├πä±z│;w²Ç,wÄ£ƒì▓&lâ╥D ¡m╢σ;(?Ey-╩71Fñ╙╛╘ƒß╣O±|τ∙■,╓ìó£â÷ε;êqm┼≡e([âª╗P≈ó▄OtóⁿµÖì╟p}≈¥Oτ┬║o╛Ü√^àr+╖»╧0≤HΓA╖Σ²ε┴╕≥%╫á╜=¥φ╖í\ë÷Ω╓p£àr╩[╤wêå≈ºÇ╧φïx■√P»α╛≈hs┐è■úö~á<