#! /bin/sh skip=175 # This script was generated using Makeself 1.5.4 CRCsum=823067326 MD5=00000000000000000000000000000000 label="spacetripperdemo-pompom" script=./setup.sh targetdir=spacetripperdemo 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: 13092 KB echo Compression: gzip echo Date of packaging: Sun Nov 3 00:20:56 GMT 2002 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 k=;mp\uw?$F`acxdvOF7LL^>魽_}kKM55.H⦅qa{0Ei $LT0Jmd"lϹ[iG{=ζ3>:wcc=nwcq77xu 44TR'$ .w%hwnb:Ǎo 7@h@I%=nwCCe_O 6zEǭFk;ꠕnbuD"Ť,'KE 9BE Up~Y8hr6q:=4q ӭL }h'G(s 8q@p:jP4J\5m˝.q=""u y9@|,nZeMDvaB{Yqo,Xp5@ ₩<˘#st7F_騇Is!eP_r 8ޅ{@S= ke_~+ 1^ qOsv_BG3Si1p 88jpQ= f:q\JۨCVM7:fˉD,m K&"ķu/CQ_*)E}Uxbq9R($D EPTm'*G8Jr˱vL|? 8rB=ȾP=dMgjO ȑҡ8I@D9L?EL z鶴lݰWgn[쟍C֚GZ"BqP֢Phn2-<':=ߪg >1?.s9@pG:-$G$HKl!)` [4d^2䆰';-$`hF$|~-$(0cIqW;3{ɮMeކ\'rOFspT&P5*dž(Q0=8jH8jJB|1M9v9SXACql/Q{)U7Q5`sS5E\8jZ Q5'G+O~8Z@9BOqCOq2@Oq(?B ?RIŔStG)/S-{{=}~ۺC<+R^#SyvTҗvwjב^;Z7i{WIɍОj:"f{ }67,ic~{k_X>;< !F w.'+ҾiD҇oUp358T4vBnBY,>pQPQ>Îaٲ!X~Um +pQ9_z;' 8G3ϩbb)8cb2m>T4^d =*d)V',f81l0-}vfbsO\ˆ&z_[B{gƜD8Q%t0,]MLVD_[N)a ]*ګwvwwKڎ]HwS 61^[f,fy'{