home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
extras
/
smac
/
smac-install-ppc.run
< prev
next >
Wrap
Text File
|
2010-11-26
|
19MB
|
61,867 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=4029825261
MD5=00000000000000000000000000000000
label="Sid Meier's Alpha Centauri 6.0a Install"
script=./setup.sh
targetdir=smac-install-ppc
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: 26884 KB
echo Compression: gzip
echo Date of packaging: Wed Jun 6 16:16:54 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
ï µ╣;∞[[o█╚Æ╬kê²∩C∞à,K╛$3ÖùUl9πsΓ╪c+s┘┼`╨"[RƒP$¢┤"`▒┐}δ½Ω&)Y╩;τaqä8"╗½½¬δ≥Uuδa<║║┐°S?├┴α⌡∙╣zíöz≤·ço.ⁿ¥>├!¬7gâ7ºττoxt:╛Pâ ÇOφ*]*⌡ba╩╕Nì█7.1O&}± ε⌐ƒG¢¿[cM∙╩⌐QZ,┤║4YÑδ╥¬√Tgå4╢V≈:■╝s╢ ▄τ+S▐_¬δ:M╒MFjN╙»ì╟τ/uf╘δ₧:åQM╓)+SUi■^█╥8U-tÑ╓y¡·╔╨7ú>╪¼■▓═ΘσòZµuVÖñOñⁿô╤╗cuw¡.∩>N╞'Å═¢íz\╗╩,╒â¼│$:.╝<Φ╩µÖ
Å╧áÄ╡═µjB\╝╫K▐£½O╧┴▌8▒U^å7jRµ⌡ö,mæτì /^½╦£XűL}╚?[⌡ÿ╧¬ò.MÅVÅ!─±εOt8<RÅ┐<N╞╖Ωaⁿ├º¢ç±-╦╢o╝≥ïuíëτ╦ó«L┘k6¡(≤╪8╟l╦╪╧ª╠L¬₧LΘáé╙■i ╜<;U╖∩╘├Φû■}■àö~ⁿpw½Æ╥>A?┌─Σ┤LÖ4kσ3⌡═`≡σ⌡`@;Ω≥┤åFiΦ╧╫Ñ1▀╝n8䃬╝TÖ!åm°7°6|¡ªE╤ºß'ΣÅ'ë+öú=N}│▒Q3úδ─µ¼╘C╓~û┌∙ó26öTè╤W┌,i 2.WE^Æì(φ╘╩ñΘêƒ ╘î"#▐δ>+WΦ╪░iΓeiHiD21╔╬ìëOÅ╘═╟╟╔Φ├ç╤Σµεπ«1╤-öìd╙»`╝Ü-δî▀╨e╝ ═*ù╢¿▐FæΘ╧√┤C∙£å@äÆlΩm⌠Æ_¥,│Ω$N╩|╜tσû:>÷öÄï"ε⌡(║Ö5╛ö╜¬öNKúôuXæ├sⁿT$║2jÆτ)÷B₧e~`ä╟╜.│┤m+K<ô)-q╪*o$íü╬¿⌐íkf└@`⌐IÜû╘q╡╧∞ú├│#u a⌠╦═╟≈j≥²X╜▌ÄwÅd[)≥jR¼═*!#~
∩└XwN¼8Γ─iM¥■ÇYÅ┤1U┐·R ¡ ≤ÿ╒:ulq╙╝Z≡dGdö~╥6e[º∙≈W╫│$╢▓ù3K╛╧t8b²"╓o╖L│_$│▐}zoM÷█eÖ;7úÉ╘└∞åuHlJh`L±f▌Fº╞UΩ╔▓ü┘èc¬πëú$ƒJ╚┼e>%▒∙ê¡║z½UU╝=9Y¡V}ì)}▓²┐AεD╦▄Q╬Ö∞+ÿ╣╦τWP1l╒(╕▀ΩÉd"▐*KZçucùm¿─zbΓêîN½~J÷v┬<┐Já┘ÑZΣ4¡+²#Öt"√BåiûΣΦ≡/╓Åë@╔Eifª4à;YqJεEh*Aév≤4═W0]╬k╬dkLÿôS▓9mµá╖MvQ y╝P ÑÄÅ&-~⌡╧«¼â∙╔ûαà"V¥₧¢╬¼'₧σâΓ»¢│╝¬ⁿ╦╬ñOÜQΓÑ@a═{ΦΩ╢}╤Ö│Γ9$^B) ∙╒∩d╗^ö╝φLr<)╦9w╣╩r
#1╥OτwH¥y▒ƒ╟┴i╧<I%ó┴O+Fiu<ªt^B╧U>ƒº]I(╫'a│0·▓*╙π≈¥íΘ±╝╘╙)mß÷╚ α╪τÖ¥u4╗Za▓D┌gG│╕/-ïp±┘¼┼è\└&q]û╚<₧M0DO √dƒ={╩û½-Γö¥5╔╨C≡à2■½I╚üΩVy∙Ö$╦^Ω╧ñ∙║4Γ┬4éYW y0#'╦)mΓ├▀╥»ⁿXòx▓▓╔▄Éà3╚"╬d┬Oo~╞▓ñC╠s²╓┬YÅ#u¼nsê₧ô_╠mûüσ|
εfsΦ╕3ö≥ΦεA∩┬á)E┬Bë█|▐Sh█±·╜ùÜv∙9Θ+zweRC╤%ª,O└╦ö¢#.i─e^¼┴ß╧*Nm1═╗v╠â~ñA≈ÜÉ#ßà|╣1n_µ:?RƒC▐_▌Lε÷g«ú╪\┘'Aäa0⌐îÑ/µä%τ~C⌐v░ìΘA═1■d ┌≈ö.Sñ└\▄·╒ΣòÜ╓UE_╡äg╩cë÷▓\,░╡█i┘á╒║αw4¼Σ\¡Iìòíÿ█¼á3vºÉó╢Fé£Pr┤q%ÿ>╩ºúg₧τ∩≤ö X╛:DÆ≥w╩~åΦ≤zxôÜYσ¥▄K%┘=÷█«╖╚│öt