From: Chris Koeritz Date: Sat, 11 Nov 2017 13:30:39 +0000 (-0500) Subject: Merge branch 'release-2.140.96' X-Git-Tag: 2.140.96^0 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=7c691be10be57164d5338635245572801c8068b3;hp=1bbbc6b787d44172efbe4717c4fe53185c1e298a;p=feisty_meow.git Merge branch 'release-2.140.96' the promised crucial fix --- diff --git a/production/feisty_meow_config.ini b/production/feisty_meow_config.ini index eadc86ed..ef535c64 100644 --- a/production/feisty_meow_config.ini +++ b/production/feisty_meow_config.ini @@ -3,7 +3,7 @@ # specifies the version of the code that is being constructed here. major=2 minor=140 -revision=95 +revision=96 build=420 # specifies the remainder of the version record info. diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index a66d1939..9dcfce80 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -388,6 +388,7 @@ if [ -z "$skip_all" ]; then echo "The nechung oracle program cannot be found. You may want to consider" echo "rebuilding the feisty meow applications with this command:" echo "bash $FEISTY_MEOW_SCRIPTS/generator/produce_feisty_meow.sh" + echo else $wheres_nechung fi diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index 26ad78e2..241e2a0f 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -44,15 +44,44 @@ if [ ! -d "$FEISTY_MEOW_APEX" ]; then The feisty meow configuration is damaged somehow. Please change to the directory where it is stored, e.g.: - cd /opt/feistymeow.org/feisty_meow + cd /opt/feistymeow.org/feisty_meow -and execute this command: +and run this command (the whole unwieldy multiple line chunk inside the bars): - export FEISTY_MEOW_APEX=\"\$(pwd)\"; export FEISTY_MEOW_SCRIPTS=\"\$(pwd)/scripts\"; bash scripts/core/reconfigure_feisty_meow.sh && exec bash -i -c \"source \$(pwd)/core/launch_feisty_meow.sh; bash\" + +############## + exec bash -i 3<&- <&4 +EOF +############## + + +This code snippet 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. Check \$HOME/.bashrc to see if a change there will fix the problem. " +else + # apex is good, so let's make the scripts good too. + if [ ! -d "$FEISTY_MEOW_SCRIPTS" ]; then + export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_APEX/scripts" + fi + # check again to test our belief system... + if [ ! -d "$FEISTY_MEOW_SCRIPTS" ]; then + unset NO_REPAIRS_NEEDED + echo -e "The feisty meow scripts cannot be found under the current top:\n FEISTY_MEOW_APEX=$FEISTY_MEOW_APEX" + fi fi +#; /bin/bash -i --norc --noprofile\" > \$HOME/fm-fix +#; 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 # we believe it's safe to run through the rest of this script. @@ -182,5 +211,15 @@ if [ "$NO_REPAIRS_NEEDED" == "true" ]; then fi # no error occurred. + 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" diff --git a/scripts/text/nechung_signature.sh b/scripts/text/nechung_signature.sh index 42448571..3ee02f4b 100644 --- a/scripts/text/nechung_signature.sh +++ b/scripts/text/nechung_signature.sh @@ -4,4 +4,3 @@ echo "
" echo "--
" $FEISTY_MEOW_BINARIES/nechung -