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-sparc64.run
< prev
next >
Wrap
Text File
|
2001-07-06
|
1MB
|
3,507 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=1353588204
MD5=00000000000000000000000000000000
label="Loki Update Tool 1.0.13 Install"
script=./setup.sh
targetdir=loki_update-full-1.0.13-sparc64
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: 4088 KB
echo Compression: gzip
echo Date of packaging: Fri Jul 6 13:57:23 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
ï 3&F;∞Z ╝Uyƒ╔╦Bå ┘╪!.É÷╛=╔ú»` [H¢äÉæ┼å╣≈╬{wxsg«3s▀éRJûPm▒JA[Z╡┌j╒ZÑYlφF-`k╡hñj-
Ñ ∩£∩╠£3╣R╓╢?▐/τ╬£²;▀· ╬d█Öδ╧╪|ª⌡▓■«[╖╞╡\╫]╖û₧CúkE├âkGå╨3<<║fdd▌ííß┴A╦┤^ü┐NÜyëδZM?⌐wB?¥k\├ƒ≥Cδ ▌ƒ│)₧▄≤┌/≤▌q║C²âÄπlî▓$ntΩYG╬)┌ƒ│úñ.■ynF├ºô ╦ⁿ╚¡═║b⌐φ±x6φ%~╒▌╒√½n├Oâë╚o`┤[≤▌Nè╫ rΩqti'╦╗╙A╓t│ª$nΩg¥╢δE╖φe⌡µdÉë]RÜφu▓╕σeA▌├Y╖#Hvé≥C,┌û⌠ª²á~SP≈ú4ê&£▌rûñ£╬0σíW}w<Nê6╖5ⁿäêq7l9╧▌αG~Γàε╓N-Ω«\╓ºN≤R4£╙F≈^,ó▌╬
Æ4δΦ[åq<Ö╩╜D½|▓╘╟½Γ╪┴8│.XWu╠ú7ΓΘ(î╜F*fxφv`%∞╒ëO*F╕εFZMÄ¿K:#»σ╙╔'é)╠'δq½E3├ é▄µ&╗+┬¥¼ΘebσYÆ═±gé4╧⌡²¬%⌐Θ─èc╨±µN z╦╗â╓(╬ÿ^bìN,°4╤i∙Qû
▓#░╥E═ORτΦ═âÄM∙n+nα▄╨╡fPo╩MR║Äa`╛_╧4]╨eâ╗ΘX¢╔a╨ó█ä;3⌐*öXÑσMéiü╛│M╨▓¿UÆ₧Åk╙┴╡ë▀`í:╢np╔░╝¼ô°å*Wë ╙Ds+&
*ä⌡a▀)? ╞giGV.+╘╛┤p╘¢Θk╟ég$¼.û ░$╬δñqï¿≈RÆ║`x╗∙î╡n╜Θ╫'╙N╦<HA1K«$uª▀9ƒf2j╞qΩ »δÿJèe²┐▐╔ⁿFò]G*╬ë╙U··óxfh¿":D$6Z~┼ì█┤)Äåñ╢┬╫╕Içç4╥╧ñ╓Éû╢(ôw2'Éy>i├─oß-I╝δµ╘K±A_█í}¬J~+╡SgæFD(╜δá#$ε∙I▐─⌡z'I▌ƲæçPK├r╚≈÷┬¼a▐⌐█⌠á±₧¢╢²z ∩5εKa╓:AÿæU─╥YH[└ó±┤;wpzçNOñ╙:╣_v{√·Σ╢╜╠╡╣▄qεäñY│'ÄêCí█╜Y≥ƒqNç4║·╧%7 ævZ┬q└φÇ╪DrW╢µc╗:-µôV7ë┘""ÖæD⌐H}R)φ^╕?m║i= ┌Öèl"█÷╠o7=°¢¡αv·w(±╩p┘εx╖║D9╡╦nf4┬∞1ºÖeφ▒üüΘΘΘ■+ ┘÷CµW┤ⁿ /Mjíº0vR┤bß╣ä,YIdÉ%¬à»└8LÖ
`öÄ═Sk░╬█╢ |#ß╒íÇJñ^a =òε.3YGM&Ä╨ ß╡Φ╪!R╕Å╠ƒ╔H¡╧▐▒yôKhLåêαí┤╠-íá╚≤æ¡ì9╬V╣╦ÿ≤╕{¿╨ÿ│>⌐7â╛╩>P½úM£1ΣìRpâh╜Iv:N«ì╩≤╩!á*òf$▄\M║╠
≈V\╕EU╛¿d╣╨j?B║⌠>ÿ┤ôcεΣ"Nuä%ÑM°╚┬√1æjÿ╢"τöës+4ΓP&Y3%y⌐vUU=Ag·qÉi2D!Ä é]¢#sPq╚╧ⁿ─îi
(╒╚¢ß3┌p╦â2ƒöòÜG≡2»µÑ0,Θ╚Dx!L`8&╞Ñ╜PK├^∙└₧ª3é¬ê]╬$Éö░φ%┬»(à╫τ╡w
Tæƒc╩u╕å?εuB⌐p1î_ééYcí~g¢_Å'óα2∞─*)£╩ÿ;s╥║¬█n╫!≡n¿
ì─╠ukPOèÜu╢°╙┼ñû7+x▐hH╡@C┤╚÷╫òb?╨¿╣£+ j|i⌐╡·╛▓âEƒ╥╗ÿ≈"8ó⌐-⌡Líε╡Uwé₧}├²â┼δ╨K╬àZagaCµ>s1C)~╬O≡┬)xí(╩ÇíWß¡╦vºî?÷ Å9Æ_ñδr ≥ó9ÜP0╪ÅAZ≈┬Ä≥4dε┼Q2eS▄ú0bº=æ ¿ ù«(└
(É ÷┬4&ª*R┘gÉM-⌠ÜΓº┬√Σ*├%Ç`ⁿ:h'vµ▐üπì: 4åbüûÑß╨ÇíääTóx^πXKLY£i ╬╙\»Fh╬Sô¬4└ë#¼∙Æt8ë N+9Æ⌐áτσgδ╨%φ┤█1≥▒▒ê±ö╛x ╢"┬-⌐_╬╘r┬±.± ╠±qƒ8τV╞Co*N*{à,è ┴5±£qN▓a{Y₧⌐i█;0GDÑ┴0g½Nm╛á╗╫é&┘U=Jâ4╩├*ÿ▌Gó╠ƒi{æÉ-A0WóX4 δ╫b(+¢⌐≈┤7ïΦφ╕»#Ö╧ε5üP@ayN╖äëIÄ├┬Y╟u%6ôá/êJ╠P√$>2 s≥-*9ƒ*9f╠┴▐αS═╟æª=*îJèíünûz°óå╪ƒcÄ]C╛CïΦê$?`Nd╔-9ú╛>π)°g╥n;àb²\┼Σ╡AßLpP≡&êéÆ╢9\æ⌠iXC@╢Üε╝,H&5!+vΘnG╢Θ8Σër}ï╦│┼£╙╫G¼Ω"ìé3┼\1≡«èΣ;⌐@ⁿ&'H≤╥éƒ▌╚é┌█òY╗╬∩tⁿ₧æ╖BèêFALC~┼Ñûûz─â<⌐Héá¬R)é┴│ERå¼ì«
ö|óN½&ßóf4Ä ∩┌ìA:O╚m╩≡(é1q"G▌bµfò╚ükäL;╨╝Ki.y:⌐ÿäì╬£±(9¿`"Ä4Aæ)T
ï¡@┘&ÜB$"∩Θ¬╒⌡A'i╒iiε0R║PDo▄ª[h-~Fyòsû≡ç╣s╓╢φJw)ó//8$á<{&≤ÑS┌█A~X&ïΓ
¬Θ╤╜ÆOε¼ε#y╕≡ôá^⌠╩hL7A▄¿:ñ7T┴╩║(¡╕