From: Fred T. Hamster Date: Wed, 1 Nov 2023 21:14:04 +0000 (-0400) Subject: followed through on new home var X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=1d44fcc07414c8e3e1d1477e0e8831d4c223791a followed through on new home var needed to use FEISTY_MEOW_PERSONAL_HOME in FEISTY_MEOW_REPOS_SCAN as well, if there was no override set for that variable. --- diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 6172635c..4b4eaa56 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -241,15 +241,15 @@ define_yeti_variable DEFAULT_FEISTYMEOW_ORG_DIR=/opt/feistymeow.org # add in any active projects to the repository list. #hmmm: resolve if still using this folder. - if [ -d "$HOME/active" ]; then - REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d) " + if [ -d "$FEISTY_MEOW_PERSONAL_HOME/active" ]; then + REPOSITORY_LIST+="$(find "$FEISTY_MEOW_PERSONAL_HOME/active" -maxdepth 1 -mindepth 1 -type d) " fi # add in any folders that are under the feisty meow applications folder. define_yeti_variable FEISTY_MEOW_REPOS_SCAN if [ -z "$FEISTY_MEOW_REPOS_SCAN" ]; then - if [ -d "$HOME/apps" ]; then - define_yeti_variable FEISTY_MEOW_REPOS_SCAN="$HOME/apps" + if [ -d "$FEISTY_MEOW_PERSONAL_HOME/apps" ]; then + define_yeti_variable FEISTY_MEOW_REPOS_SCAN="$FEISTY_MEOW_PERSONAL_HOME/apps" else # echo "No value set for FEISTY_MEOW_REPOS_SCAN and no default apps folder found in home." true