home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
installers
/
alpha
/
CivCTP-1.1-alpha-english.run
next >
Wrap
Text File
|
2010-11-26
|
5MB
|
16,736 lines
#! /bin/sh
skip=143
# This script was generated using Makeself 1.5.3
CRCsum=2052198320
MD5=00000000000000000000000000000000
label="CivCTP 1.0 -> 1.1 Upgrade"
script=./upgrade
targetdir=CivCTP-1.1-alpha
scriptargs=""
keep=n
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] [additionnal 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: 5430 KB
echo Compression: gzip
echo Date of packaging: Mon Jan 17 14:46:53 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 check sums $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
if [ "$1" = "-confirm" ]; then verbose=y; shift 1; fi
if [ "$1" = "-keep" ]; then keep=y; shift 1; fi
if [ "$1" = "-target" -a x"$2" != x ]; then targetdir=$2; keep=y; shift 2; fi
if [ "$keep" = y ]; then echo "Creating directory $targetdir"; tmpdir=$targetdir;
else tmpdir="/tmp/selfgz$$"; fi
location=`pwd`
echo=echo; [ -x /usr/ucb/echo ] && echo=/usr/ucb/echo
mkdir $tmpdir || {
$echo 'Cannot create target directory' $tmpdir >&2
$echo 'you should perhaps try option -target OtherDirectory' >&2
eval $finish; exit 1;
}
$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
$echo -n "Uncompressing $label"
cd $tmpdir
[ "$keep" = y ] || trap 'cd /tmp; /bin/rm -rf $tmpdir; exit $res'
if ( (cd $location; tail +$skip $0; ) | gzip -cd | tar xvof - | (while read a; do $echo -n .; done; echo; )) 2> /dev/null; then
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 /tmp; /bin/rm -rf $tmpdir; }
else
echo "Cannot decompress $0"; eval $finish; exit 1
fi
eval $finish; exit $res
END_OF_STUB
ï ▌¢â8∞ⁿgXS▀╗.
+Hæ▐ñ*╜wó MPT:æ.RB∩$tT¬ó R¿á╥Añ:H⌐í @iç▀¥╡╬▐√╝τ}?£k∩⌡^τ¼æy═9╟£c<φ~εgÄ|Ot∩?xñ{ΘjôòæQRRα┐─╧╧»¼ñ°╧UVYQµ_²5eà¥döeσeö.^╦╩╩)\Γù╣⌠┐á·8°±≤_zΘΓτΦΘΓ 5╬┘%╚┼≤╥ π┌}Oƒùⁿ▐á 5║º/]° φüÅCÇ╙K~w~ wOO~wo~Gù çï₧C@á┐┐â╖3┐3╚┼ ƒëⁿí.ⁿ>~á wg~oùÇ`Ƀç╗╖╚Å▀▀╔┼█┴╧─∩Φπ≥Éó√oT╣°∙╗â╝∙A«ⁿ:εAε₧εa}5~çìOAⁿfá`?~?▀@w┐Uⁿn₧εÄNÆrR▓ⁿÄ■.╬t╞ε▐ü!ⁿ╬ε■~εÄü LûΓτ G┴┐Y ╥┴ ┬jo■▀\£∙â▌^≥ █?o╧7┴ƒNNΩB¬∞┐▄ÆôÆùÆU∙▀²═ »┴r ⁿ∩.ⁿw┐≡7 ⌠∩Æ^:╣≡{xâé/Φµ╧ⁿ╥²┬"'ç@ùbσΦΘΓσ o]°«≤╘∞┐ï╠?íΓ╛░▐ ΣσπΘ≥ÅφNá@┐7B ëû▒ï┐º╗ É╖âº│?╚¢ε ■ÄεàJ:ⁿúX·Rı_0[Y± Ü ⁿⁿ2 σσ/±+■ º╖ ÿ⌠2■
▓▓≥ à "■╬₧₧╥ Ö°+))²■ ╔°{9°H 'ß»¿á≡_ⁿ ⁿ¥ⁿ\ⁿñⁿAR╬.₧ 3╓
▓Jè▓ =■r2è2r ╡■ _╤ä-X╦╚(_▄^╜D{±√┌$└▄≡%]²╖Wö{æÉê¢SS╪Egû[Wk^zÜδ┌N╛xl±═k76└æ∙Ω-T[ªûΘS═╒ùfqO┐º░·F┐╠b╚Ω1zàm1«α√c╢╫}nt┐■^·M┴║╗£:σ-ºΓ½¢ΦFX╫R÷bÄg?ô─º!ÅP⌡▀oDéßyx'╫╞║▌B9)É≈│εSä!|╕o┼eJ╡H█≥┌╢√«¢D¼∩Γç-aÑmûZτíáur∞Hαá╙4W─j%ε╝z ~tùx)må└ÜdtΩ¿∙`ô╥Arhu:╓· ù╬%¢ï═⌡â^n£ê!/°i1Ö▐"h⌠≈{H╬╨╪≡âó5¿ⁿÜu╔a² ¢r4├²ⁿKí∩u╤"²gΣW>G⌠Iπ²3Y:÷TìWÅ^⌡g└[αÄá╥ìêªìV┐kδ7√²╕°gl÷m.o'┌z5é6₧²┬Θi≈┤«4Äig»66░%¡RªùΦH┼j▀]