home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.lokigames.com
/
ftp.lokigames.com.zip
/
ftp.lokigames.com
/
updates
/
heretic2
/
heretic2-1.06c-unified-x86.run
< prev
next >
Wrap
Text File
|
2004-05-25
|
4MB
|
13,566 lines
#! /bin/sh
skip=177
# This script was generated using Makeself 1.5.5
CRCsum=2058123497
MD5=00000000000000000000000000000000
label="Heretic II 1.06c Update"
script=./update.sh
targetdir=heretic2-1.06c-unified-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: 4940 KB
echo Compression: gzip
echo Date of packaging: Wed Aug 8 18:02:09 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
ï ßq;∞9tSeÜ7mJCMÉ≥Pδß.:Z\h¢╛yêmCZïÑ^ܬ┌öññIOr/=H ì╦σnö┘╒ufv9g╒e<;gwàΩlhkïπφ┬¼2nuomQ╘Nφb5√} o╥8δ8Ä√8µ£4≈■ ≈} ≈~ⁿ¡│û»Zc═ß╖±╠ƒ∞ôg╬╦+.,d≥≥≥
≤≤ß7╧\Röç┐°)0¢ÿ╝Æéé┬éⁿΓΓb╪7τù2l≤|ä ∩≡│,│òw9}MM>»│áαJpM╬¡N≤ εú╫│W ▄ß⌠;yw#[]═Üs≥è⌡·Zg;δ⌠║▐Fg½╙╦X╖╖╤#49ùΘ┘[┘J≈6╢┘τg¢£MεF∩lbN Vºƒu4╡║╜ε ∩w≡nƒùm÷√ZYδ±5:<lú╧≡y£ê┐j╗╫╤
╟y▄¢ⁿ┐█`yδ≡x|φl+ÿ╞φ▌¼╫δ½kmk╦kj¬k½╪╡wT█X«|¡σ²mW·Φ⌡½┴║¼_≡▓`\6╨Φw╖±∞ªφ,┐╜êæ┼f╥╟7┬.5·Z[▐&`├δdù)
╕X╒F■óï%█JïsÇ4p─│φnÅçm@╗O Z@Rn/xù╟C┼ns≡.╓╫L66;Z¥9lu3█Σnn║^^?┐╔┘∞<<¢¥+ⁿ╣DK╣╚U9X┤EphPÖSí¬or√¥ì╝╧┐¥mGP┬è┬#~.h▒«╛╢û¬╨╩Vò»▒Ω/╫▌Zïí┴╟±╟5╣Ped!╗╔φu└yn∩σ≥╞╣ü╦┘f≡▐▌ àé╪╚Y╗├╦úàæ*α|═|╗╕[├Y╔gâåAy°µkCΓ@f·ƒ£<╗╒▌┤╤∩l&╪Wú∞r°¢╛9σ═₧mz²╜@╡╤L╢9▌═█┴{½j╪&┐╜┌ΣovÇ▀úw9ê½N±«)─7{6*╪╘╚εM°¡¬╔ °r╠zj╜àW╪Z╚║ö▓Ç7╔úⁿ¿ ╡╫·xτ2vì3α`r≥╪&─ö╫■Ω≤o?≈úü<█⌐
&;z┐▌τk≥∙@hS =f¡╒rGm╡Ñ╝å╡╒s▄]uk⌡Wê7¢╨╓µσó Oóç»5n»░╣wlu╕=ÄM'ì╕▀7k⌡≥N?∩p{1⌐Φm¬'8x%ⁿ*ä═∞Z┐úq¬╥╢=└;[ù▒.₧o[û¢█∞⌠·▌ü╨!QƱ¢K░£¢nTÇ
┌▐▐>Äe+ëëê
!α╖│*G!cmåùæ$@ù╦Æh╬àâ└öµÖù/))╬_Ü├«uz£m╕ºΓ&k`ôôow:I∞L╔├.ƒαámù▓σ9krêIèX╫°/Ωè╡±░
÷a╫║IT#₧Ω¿O└G2Öα%╣ÿ┌╪%Y╘φnG R9jI╘£^'Å┬x¥φP■L╤╛σ╨W5ΦÖ∩? ≈>É┐s ╘gΣσµòö]¡ ├Å╥ CδWDz@2l╤≈²▀wbÆÜs 7┘┐└`▀█ ;╡?⌠│╣ ô÷╧/ (*0√Ö┐╖ wo╞áâⁿ╢»p■┐ܲ≤┴∞%╘■fsIí╫═EµΓΓ∩τ ∩Γ│╙ZS⌐╤hR╒≈&ò╤└∩┼áVW┐┘╣┤»+dX╪╔f«afæ}≥ⁿv<6¥┴o«Ö▓ ▐,╚╨ß≈╣*å±ⁿ£aª)√Z°y┐Çï_₧±½¥⌠0Bº¬╢^ß+±⌐▀╖╔°░nW╧ûª3í_≡ìOôsv~±╣8& ╝╔)╖δi²─+=I≥Ü/lτ╓╓╣2ú¥δ9`αn╗½sÅV'ù|û╩îεK·└Yí]Φ╢C #¼╛µαS≡ß┤Γ|Éÿ╪δd%T╩â¥xB8╩╧⌡Ä║╬7eΦΣ²±y"ú0Γ╚·₧╚Vå╥─qî>½ê╫äz╟]l╬╨Q∞ìÇ}╬°3┘mÆáô╓─│Γ@Φ╜T~εâ╞╨Ñ>¡4Å_R▓±╧ìeÆ⌐π4ƒ╒1╞╧√╝¢abƒèj±æë ÆS╦╩·╩b≡`╖╔=»jß╔L▌ONƒ╤2KäZ±S±Γu╞óïæU≤5├Θ√"ⁿ═î8q╩δ6┴ê,Ö6i╜.╕<WÿΩ¥p┼îcsA#r╩Zf°6T.╥╡GS╥ÉIó54&Y|σ╫Z║ÿä~°5eu╝%ù«öA/╡Å?æ;q-nô]#≡└¬Wk&╨Γ\Φôæ²╠┼X╠&ç]Z`]╝⌠u5è▄|èπ└-»)åεæ¼Hù√k8⌐▐P'∩Γ├│║6▓┤û"O╦╟bδ6lTφ┤k─Ω▒ΩP∙¢@∙££çJΘC▐╞ätst╕ⁿΦ╪]╔á╣jε╬═┌─óM^A^Y╗ⁿ╧M¬ë\M@╨&o$2>5ë_!ëx╪5Rcª6Z»ôä∙*6∙╨├»┐ï=;₧à⌠'╪Σƒ|ïëß^▓3▐Æ┬╔√cΣ°pt╟êⁿâO5dÇ0≤╡L'φ╨néM▌ñ8ÅR╠üd')äF9∙à╠╧¬ngW]e5ñ╚▒╥wc▒ßz╔j (gNÆe▒OⁿäBRÇαJå╧öµⁿcmå╬°ÆF╥ε▐ú).eä╗+èN<Z~f"â╩₧?Nûi┴KO ╦≥√N-Cò╫`╦┐D(6HÄ║Qÿï╠Γ╢K{▄ákÉJ#╟╓@EπÇWN╬ƒë+|*í═k +Γ║≡$▓╔╔?╝ÄΩi±qtå╘êvéá▒æ≡Γ╫P≤QxB¡rd b`┬µZNHVσK┬DZH≈B╤G┼wäÖ╞#M(·╫éRÇü≡αX⌡!║£╦öΣ█'b1║ ╝pè ≥o.┴±=└ë°NW5Ç╜ÇUmΓ≤┘3╞Äl╩Ocô┐£∞╦▐√"ß7⌐╨$ZRσƒ+ægÅΘ)?ê╬.∩aæÉiΦm╪∞▓ß)╙Γºä]àΘ{æΘ╜_\ëiVeô╟┘?.┬T¬6y╤I5│¢ô┼▐vß°:╒¥└MGZ ≡
=»]>ÿ┤│╥újú#τ+d?╛#?@╝3╞XßΣW&öƒp▌Å╢╢fr¬╦£═EE£RÑ┘3£ë┼│╡┬>áäαpèΓ ╨½±ñΣhôëΣ ┴┌íK▌9OÜå┌s╫│Q┼]'Uj uδèzHN½"G░Φ"∞φ·O┤┼s╟òScw%Pæ*M4AA>¼4pRÑ╛ZN~╚⌐y1Qù╒F≥bK.'ƒ√ñ╧{4J^√≥8&¿┐8ÑeáΩêPw&╫w─3HδMR}f░4Wÿ*½âΘÇ─≡╩/≥─╙zßÖsÑttu6∙╔┌1Ѻ0É─hÇ·τεΩCx(·T█»áU}Γ$⌐Ω9Γ┼»S╠ö╥¥óTφìS╧│Ω╠τ^
╢gΦéÑ▀è⌡▌ïp▒~b»╬|▀K≈₧çfHX"φä▀╜│α─[w}±%$ï÷à╕┐gnÑÑ£,╧ª╦[/Ouδ¬B1φ├▌íXÜÉíÇO█╦∞ÖViæ¼pÿ≡ñ▓Ü┌7ìΘDεh▀$╒δH▐¥h╤HeY£Ö í)ô·1¿t╥]y6± ╚2|å╪-Udâ│|.«╬ë⌡ô√5t╤¢A≈≥╧çRíB i¥%≡ª£╖k$ⁿ╥02xlîCαÑ`P>τZ┘=┼╧▐║ƒäê+z4C╫┬┤hl≥πjò AΦ6\f°¼â╜≡█ƒ6xövô@Wb8y/Σti?·"ßAÜâ0ä╙σs9p-┴Eφ>.FH╚w+êë▐+m╕è)q┬ÖR²ⁿ╜Ü=╓╪è[à}╙n-»\-╓ÅùΓ▀;y≤┴ºHæÜ5ªσtBzpG,G╕a└O+»╝ôƒ¥┤;\Ü├éiñ·±≡i▐8£╛'╜╝j5?m»ª#*|╓ù╬LΩ-Éë╪═JkLßW«öJ░(▐«£;╢è╙h∙╝╚s7ú¡÷N█ô*Ñ[╨╔µU⌠|±¡α6├¢î/qéBαà╖√R'ƒA{fΦRA▌·Púσ├TFÜ!÷┼∙4¡x"r╖F£-╛æDO'ⁿçx1▐╕╥^$à⌠"h∞ ≡╔mOƒ╫148∙I╚ôΓzM'*╪Wq░τâ≡l'E╖3*DSLäΣ╗ö1vñâ╤┼₧α1äé╫q(╞vgÅ8▒{∞e»7╛4mlU≡8o∞e¡▒π≈ º,┴[7yK% |>fid∞├»hÑü78ⁿ╖_æó╜┤ço4■{»í├╚₧Æ&Z╪╚≤τ┴w∞⌡Nîï√ú░h#è)H16╗<»7Ötaα$iδiH╧V╚9é╢L┤bɬ╧åpLÿ{ ±r╚D░#÷ü├·Qì4çJ╬┴°k @}╥║╚┤55π╦⌐5c▒╥╫úrò$∙ ┌É·▒x éFû<{brΦ╛ⁿ■eí√<å«]╛■^║┴'iΦ┌σ}S]╧A\┴═τågÉyç¼Xû÷jv<ë9Né≥G£▄ì%U¥▄∙+Ñ)▐ @╕φ║O=╪.║GΘ■⌡ökt≈P{:ß▌⌡z╠┐9√░╛ê9íT"┐²┴^σJKæJUï9y·m)ñm╟
▌Rfº░É∙9∙▒₧xC▐¼Bƒ[æó6∙ⁿB¼ΘΦ║qñU£|E6yÑ'pú»b9sïJσ òJ╝]û÷#α«,T╨_'NnSqùπÉS╙z└ñ£ⁿ^7╘j,╗&4δêSÇ║Y:╓MÖ[¼0▄;èé┌\⌐┌Mé╛╜AΘ\╞]Å┼σ_₧Bz├