home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
updates
/
loki_demos
/
eus-demo.run
< prev
next >
Wrap
Text File
|
2004-05-25
|
10MB
|
34,348 lines
#! /bin/sh
skip=175
# This script was generated using Makeself 1.5.4
CRCsum=822431042
MD5=00000000000000000000000000000000
label="Eric's Ultimate Solitaire Demo"
script=./update.sh
targetdir=eus_demo
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: 12359 KB
echo Compression: gzip
echo Date of packaging: Mon Nov 20 14:00:52 PST 2000
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
$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
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
ï ƒ:∞ZtSUÜ)AJ┴iö*⌡¼#╖-╒üµ╡ö62/╨╥á@+¡RñM█@b╙$µö=dDç9SòîçqÖ]╤!Θ9πεv╓*¼╗£a╬n╧«JgD¿:BüEP║è┌Eåε≈▌√╜µ%4╬Ö╤│sîτÖµ▐∩▀²}εw∩cI⌐╣dQi₧┐┘/²┼>∙▓\TT╚$╞Xq╤ⁿ╬/₧!≤▀°)öaÉ╚E╙eyF~!LτσKLû╛åO└τ╖zô∞6o}└i≤%úk░¡▒9Ñ┐║Oï öz⌡S|∞aº▀╤d⌡█XÑ█Θ≡[^+▒5╣┘.ië\Ü╧#6»╧ßv▒ⁿ<┘Üî¼╥µ±█ÜΩl^ûoÜ╩≥∩╗∩╛4°L╗εOZσ▓╩¬╥E`═C/XR║¿tqUσì░s╗εe6ù▀hb⌡ε&Å╒∩¿s┌ª▓
≈Z¢╖b▐Tfvz∞╓⌐╠φeòµ%≤ÿ╟δ«╖∙|n/g& ∙Eïµ▓%µE¬─àWáÖò{l^ÉτZ═*╫∙`ílk┤y]6'[CαΣ╔y═(╗ » »y4ß3ì¡v:ΩΩæ9╘∙¬╬Ω∙^¢═T4${z^╥9┴{▐<ò¿╝▓R│Lµs\B┌Qoc╣nÅ¡╬{n╠ ═╦,.cUûRVfå¿╕Q, ╕ÿ▀ncSl_Mä╫VτpY╜δÿCLαkÇα½≈╗a╘∩fÿ¼~>╖┌┌dúσU┴╧U»&M6╢╬`^ìí<l$;ⁿl¡├Θd⌡^Nê0ì⌐╔s║F╒&┤$zÖ▌▓翪▓╡P1b▓|0hπé8▒╟k[╙.¡ænº╙╜├Ω]hé≡≤▒&δ:V╦q¼▒╣pàIpf,δûO│»ƒ6═nsz╒FJà╫ßBp>ås¼ Γ╒║╛╢5;ⁿyk@ ELLFÑ▌╜ûymN¢╒+s¡r{┴î⌐ß$°@é╦═#)&í─ß│╞╠≡{qLl=¢6¡T°mêæYK°OεUnαR≡Çzε⌡Çτ╞┬s⌐┼\5ÑÆ-ZPY Q:τåó3▐Y½ L^░╚
╖«▒:£|ìñ½╬Xb╗WτL5≈|Äz·{₧▌Ωt┌\αö2 ±ì┌x╜áƒfτZδ:─ò╦┼¡╓ÉÜA ═▄«!UαiWÇ╨tk¥éå'î╟ ±eà0â≡z+ÿΦ▓±Q¢ù8*1░!r w»Z ╖▀╓√n±yσï½╠≤¬░&,,p½,ƒ_╡╘╝ñt*[░x^▐ì9└5¼6êæ₧
%═σ╖╓√E╬9▌⌡VHD≈* ZpT¼╞X{▒╓╓┴║¥ùÜ┴╬ulò╫▌─B¬ é∞t╒τ1½ƒ\g≈√=3ì╞╡k╫≥Æ└a╧â*j√l⌡vùâδx<n¿IÉ,▒Üïôk+Üo~hª╚R╣╩·╕/Q'N/╡╒∙~█╠í═σu°«6OEv¡å dç░Mkôx.{∞■½1d4¡R╫cεuYi╙xDq≤K«dU6kSÜ⌠φτ»σ«±/¡:ⁿΓΓI√°╚╝ ùº╦àE0-B ?π█■ k±?∩Zì▀┤ a,┐á8┐ ªΣΘE▀· δ⌡┐<╞o8 ï
è
`zz~Aß╖■ &ⁿÅ¥Dδφ╓√ƒñ■/,ÿ>]₧A■/╬ƒüE,╞⌠E▀▐ |ƒ'J╬O╤ΘF⌐┐Sñ∩m╤┴≈¥─≡[íq{■-C<èdÆF┴ 'H╖JH3:!▌uÜo√XâαºoI╥² ª╕yF⌠⌠}LP∩)╙┼±ΘΘΘº╤~╥ú~3╒·6$¼WOcH[╢°aZs≥Oû⌠¢)mƒ∩╦Ö}█oτI╥╩▌-;â╤┐u,o╠Æ▐ÿ▓╞%)t K┌7e#ⁿ▌s▀Wû7JRÅQw┬x≈∙`tÖC_╜+π╖≤t.5óⁿt²`ÖJ½Éσ∙∩F╥∞Ö╥╩∞╨│┴╚■m█#╖Θ{ÇεΦε╢ùé╤∞Üσì¬}²âGsRÑ┘»ím√w╬┌ò"⌡Éñ{:$n╟=ßT╔╒ed)ùƒ°uφ.ât4GΦ∩1Γ·:/ε╦A9|};fàGK¼╖kτw#¥;gEZvúk₧@Y+úë|[4|⌐¢gà⌡─ù║9u$≡Φ' ╩▒Ç£UÄtσ╡t²ò2âö■·■_╬
âº"å≡,└ú<b·Y0·»└>xε╥_(k║▓ïæ₧I╧ú·ì≥√>?⌡_┘▌~!^çN▀_û)_7H╞÷B├àWM≡Φñ9L6█ß ÑΦÅùÖoWöL⌐<¼╙gC*ÿ├π$Ñ7┘T╙\¥t╥╖π╡╗òI╣·<