X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Flaunch_feisty_meow.sh;h=a814bc24fb7efcac778e8599a86f058e377934e6;hb=5e0cf6044159dd34b93294af829905b74c2b0e36;hp=65a579a5f6a04f5e30c602c55689600536d5f662;hpb=974cb458e356b918d426db0f9f0a2dcbebcd7034;p=feisty_meow.git diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index 65a579a5..a814bc24 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -18,8 +18,6 @@ ############## -echo "yodel; feisty apex=$FEISTY_MEOW_APEX; feisty scripts=$FEISTY_MEOW_SCRIPTS" - # this script cannot handle figuring out where it lives, so approaches that # get the WORKDIR will fail. this is a consequence of this always being used # in bash's 'source' directive, which does not pass the script name as @@ -50,16 +48,17 @@ directory where it is stored, e.g.: and run this command (the whole unwieldy thing on multiple lines): -echo pwd outside \$(pwd\) ; +############## exec bash -i 3<&- <&4 EOF +############## Note that this assumes that the .bashrc file could still need editing to fix an erroneous FEISTY_MEOW_APEX variable, so we skip it above when bash runs. @@ -79,15 +78,12 @@ else fi #; /bin/bash -i --norc --noprofile\" > \$HOME/fm-fix -#; exec /bin/bash -i --norc --noprofile -c 'bash \$HOME/fm-fix ; echo hello ; read line; read line ;read line' +#; exec /bin/bash -i --norc --noprofile -c 'bash \$HOME/fm-fix ; echo hello ; read line' #--norc --noprofile #; source \$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh if [ "$NO_REPAIRS_NEEDED" == "true" ]; then -echo GOT TO NO REPAIRS PLACE -read line - # we believe it's safe to run through the rest of this script. ############## @@ -215,9 +211,15 @@ read line fi # no error occurred. -else -echo SOME REPAIRS WERE NEEED -read line + if [ ! -z "$FEISTY_MEOW_SHOW_LAUNCH_GREETING" ]; then + echo + echo + echo "welcome to the feisty meow zone of peace, one of many refuges in the uncountably" + echo "infinite multiverses that are hypothetically possible." + echo + echo + unset FEISTY_MEOW_SHOW_LAUNCH_GREETING + fi fi # "$NO_REPAIRS_NEEDED" was == "true"