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.10-x86.run
< prev
next >
Wrap
Text File
|
2001-04-06
|
3MB
|
12,206 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=3580305309
MD5=00000000000000000000000000000000
label="Loki Update Tool 1.0.10 Install"
script=./setup.sh
targetdir=loki_update-full-1.0.10-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: 8160 KB
echo Compression: gzip
echo Date of packaging: Thu Apr 5 20:13:44 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="dtterm eterm Eterm xterm rxvt kvt"
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
ï h4═:∞Ü ┤]UyÇoBß$2
V<╜
╝o╠α⌐@ æ$─éXd¥w∩╣∩₧╝s╧╣₧sε░2¿$[üèáÇóBA╡PmDAPúæAδ░liï╦
ΓÆ%C░uε≈∩╜╧p_^║║P▒φΓ-6{ƒ╜ i ┐ ▀√f²≥Ñ╦╓,/²Q ·z{çå∞Æm█├Câ╥≈÷¬o■·{ù⌠▒╥▀?<╨┐ñ`êσ╛╛ß■Æ▌[z■┌qΓD╢]j╕Q╡φ╗±₧αjεäδù■▀²Y½├q╧▐╘¬9ëkoC▀εδε╡,kUÉDa¡]M╝0░^S°│66╝╪µ?╟N|2≥Æ─∞╤i[æ┌╓ôI'r+÷¬á┌]▒kn∞ình{╘╡█1C/░¬a░╣(≥÷ñù4∞ñßzæ╗I╗e;A═n9I╡1ε%èK,╪N; ¢NΓU▀ƒ╢█Jd╦░ƒ∩C┤Ñσì╗æ~╡Wuâ╪╞¼rk,-╣∞a┬±|g╘wφzëlv;¿╣æc»\╗╔^ΘnΣ°÷║÷¿∩UmM╓º:1g╢X▐ME┬mà┼ëóSdΘçßx¼y⌐Y=÷Æ╪⌡δ╡m»N7mú└\╕è╒╣⌡Z8°íSïå╙j∙öα╒Tæ+.ì"l{òP╙U-gα4]┘∙ÿ7ü╤P╛êX¢M┴⌠╜ ╗φYh╕ºé[I├Iσi▒ìα╕S^£á≤"┐╩½àUår╝╣φ)├!∩Lε╚äëæWTS=ì╡¢nÉ─J∞ U┌|╣Ql▒oOF>6ß┌═░╞╛±╡åWmh&1å«å≥▌jR≡àómα8¢Åí┌Ds╠ì!D╫½p¬0σS9▒2J╙Gi^æìQ¢Æ▒dåO▒₧╓Φh eΓ╓îQ¡òδV┌r░£ñ╣«\%Lzÿèπû#*)╘Θâ∩äy⌡ißaΘ═j▓╩φg'E┌í╥ÖXΩèîI÷k┼aSñwb▒║R║]│l╨«6▄Ωx▄nvn$ùGöÑ)iƒΘ╢╬∞▄Fì0î]êxX╗╙I!δN╣╒vΓ╓*&t─jƒ∞«▄╒äS}}e╡á╛▒╓t╦v╪fΓ8«∩ï█¬XcGmq±H7╤^#^┌èp&;l'6'₧ É8c«x├µ"∞í⌐à╖φLzm>ⁿ╡σ╗°SEδ;u╗t/·ë ⌐▀╡Y≡E{ní¢░ZmG▒=πⁿIäHIsr$÷.µXs╝c╗ßα±Ä╖▄¬G⌠¬╗┌ÿúm╧OΣTä:XΦ│ ╤p╥₧█∞▐Æ▌ïΦB'ï╦÷Γ«.═v▒╤┌₧┬qä⌠▒6æHY8∙v╦wª%~Üîs╓ÿ5~n£0i╗⌐aa#¡▌t│ú.∞¬B╠»mè▓UFΩ╠$⌐ïT╟ïÉ·|à╗πåW#»òñÖ═"│mH▄V├!▐¼C█≥oL═¢g¿ÄÉm╫ú░9[B╘¿│pδ╠F`ÅXì$iì⌠⌠LNNv√PR╢φ╞µ=4▌1'Fª₧öPÅòñäb╣ö-ìôΦ$+R½X(ç╥R`x^J├ÿ`╙·╒ΦMîW┼-(ò─╜|OG¬b╕LH▓Vè, ╡d█╛IΓ■äÅ─¥J─¡O▀╕f╡6KôjLç┴Aà╟-ÆñßΘ²╔Y▒¼uÜ╦ê⌡z┬=.4b-ì¬/!ûπ∞#╘ úUµt┬!!√Lj├σ
zπε⌠d╒lò╙╚½AÉ*╓╟Hà╣Q2╦f╡lR⌐2óZσ╩½Ñ°Q╓òqîäô╒╔╔&O╡╒Iè─╚<·!S░E╬Ü)£]êτ ÖV═ä╓e╩5²,µ#|ª¢ìL╩ATµ≡╬u'dµirΩëuµ4]
ñ«æM3Zäe╧e:?Ѻ┤sNΓî:1K2ò^ñ&ΦLª.]î[v£W│aºα3J¬└ä8÷ñ*£░σD*«ñ_─QnoσUE╢Å ╟≈╥═╒▄║╙÷╡├à~]LwΩ╢╓╗╒p,≡╬çôqITF∞⌐å*v½U┼α>a¿éGé94└wñ¬¿ik¡;Ö#5¥iÑ≤ZM╗Yîl»*3vWS╟Pqá6j╫╪WΣì╢u≥╡⌠I¡■O╒aL╦Xß²)╕æÉ·oö"╦â{L·«■ε▐|╪≈╫FZ╡r╬ⁿÜ╛√∞I⌐πgJa{JV«ïTó∞ ÿ╥+Å╓3╧]z°CWΩ1KδK|]poÖâ▒┤ε,╜╕ΩDR;Ω▌╚q╧╖Æñç`┬¼ñ5b╗5Q¿⌐É₧J à7P(Hⁿvⁿ8Ñv╕Hymÿ`¢Q▀i¿ òƒ∞ÇΩt @G\GvQgL╛I≈?)¢11»û╡▒i╩P⌐ä╥KH¬≤è║1ÿ·Ç╙╩¡J
£Iç"╬Qh╢3*╒£ô"U└
(«VÇlN╫ä╣ªSM&Kô₧ô▄Φ╕X║─φV+Σ>ûU,
^«/N;/É║%vg▐╘2┴╚çîò ╞¼╫]╤£]«√╬DòwKYR(":╔5r¼║╣ds÷Æ∞ªV`#╡╪iöælæ[Tí│╓Ñ═┌╗∞╗R╠╥ê&≈░2╪]aP╔▄⌐û(█J fδ*û n▌h=¡X=╣òM¿½≈ñ3M÷╢∞π┼µ╙╗!ÿ¿Ja╜s▌RGLk<≤º-█╓╡Ö.·╝`å2R>æ╦@ò9ïrªºrV3(σ└=ì║lYU└┬úl¬Æ╘+╦b·⌡éÜΓor█σ╛#DèI╢┴L╚a⌐π╬XñoΩ)Γ│x7éô»Φg.ªƒZñ3ÑAÑ/≡Ü\┌÷ètLâå*┘Fï┴+¡sæ┼MΣ█≥╢úÆè9:pΦe■╬─V,╠¥Fà>Q╒,╓╚5ôπvTåk*r^;Ñ)@⌠-AP6µ─╣>gï(┤ü│½oφE}╟╙Φ{J┐(+Æìrüî┘WJZ√ær┤#)ü*⌐KI<¥_╩╕╡╔SAjƒá▌╒σbßx£öHåδl
*ΩD┬ªNÅ*ï&▓¬[æ1┌¼ê8äFl┌╞≤6«D┘⌐Bé╤≥)G.º¬*├Ü$ìÜù▀╩∙ë-πlceu∩⌠σ⌐╒vk^Fq┼jzq0byPd5l╔½ÅM5╟î¢╚╜╩ZíΓa├¼Ñg█╓ßR%DW?pΦz@ε┘Së½â╥ε2Å├·▓¿₧áÄ╝+╣╬¬.ù7Uùa7≥¬∙¬╬╞≥bαà╡è%■áδå
É[w* ¡╢U@a╨5)U!E╬ò├▀ûû½╒¬╩╨Y≈ù⌐▓▄╫▌ko ┌zqú¼▓3}]5╖ûXs{5I¬3GÑÖGLIéåçè·!{ï,⌡öÖ
«ï▄²╜j█w"âX▒)½8¡nK╝èc¿òÿ7e ║öë&dbo~ç╤*ö/₧≥$`ªFΓ⌠2ßΘ¢ày°4╬»_ En╔δ▌¥╖Dºxìn╟·Æ╓pΣY2╦┴;▌AÆ╖Γô≥ê╝.bO╒i{e¢*lµC~zV÷÷W¼ñ╓S2nx-}ΩσiN÷Ωs√≈═S[£=≈Yë3.eεäú_º0Aè`Φfq|è/nR⌐çÇ┬Sgÿ▀Aσ╔`Ü║¡⌐/yÇVÆÑà╥x@hù≡.U#Ö╢ò⌠Ea+≥ö⌡:í┌<ò╠·ñ-ΘC£═▒rx╠!mq'¥╧à╓I╝àG8S▄φªⁿ⌠ßí╬aúpM:₧X╞╣;î╞z░█RQci÷°┬/û[Ñ╦Jy¢▐═~3▀╒│ºjyà49╛£o4KⁿFxUïSp1⌡^£τï⌡╩síµÄ╢╟
(
⌡6╟D¡╠ó╬Y$R/∞R°s≥$:■>í<d)UbYΩ╠╞πx┐αÖ≈C╡╛ç_P╥l,T╧╣≥╬⌐▒¼0╡ΓspqWW╥la╣╙ÿα-/âRæGÅÉ╘¿l¥╛╛╦»I*Vσ ªñα$k¥(w{y¢ht∞J$╚₧ßcu≡TµRæEò⌠¿W┴∙▀y¡4▌─9»∙≥▄W«XΘF─╢ÜÆ■åU¥┴MäQ≡rR{ê▌m╔+^d▐Y%$σ╒qQ0Γ∞Ws),ⁿ╕┬≥Γ∞µ╣R╛M╕û8`á╕!6Θ·≥*£·à÷DùpÖL√Ü~¬4⌡F¬~rb╣▒X·¥╪'#ùΣq)[╬
ÅZ⌐yΣì╓u⌡QóIâ ╔fë║πïÖò╛@Ωφ(─Θ&:/╡95╔εH╖▄)≡/.¬*Nça╟*7=∙á¼:m«▀·Gs▒V8┬?╓∩°R«Imÿm╣r²╫╖∙aRK^íè╓t╓ñ<F╒3é*╘│7ìN┴╒≤Ä≥úvσñ╧wô┼ZêÑv╚.α:Khibm╒rq╓╩ôp&LgÄ