From 213a658114b1142b11bfe28e2b0960b79361535f Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 9 Nov 2017 12:29:34 -0500 Subject: [PATCH] upgraded the apps and active folders check-in these two folders, if found in $HOME, will be updated and checked-in when the revision control tools are used. --- scripts/core/variables.sh | 12 ++++++++++++ scripts/customize/fred/fred_variables.sh | 13 +------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index cf25fa22..976c7898 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -204,6 +204,18 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then # define_yeti_variable REPOSITORY_DIR+="muppets configs" # see the customize/fred folder for a live example. define_yeti_variable REPOSITORY_LIST="$FEISTY_MEOW_APEX " + + # add in any active projects to the repository list. + if [ -d "$HOME/active" ]; then + REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d) " + fi + # add in any site avenger applications that are in the apps folder. + if [ -d "$HOME/apps" ]; then + # first, simple projects. + REPOSITORY_LIST+="$(find "$HOME/apps" -iname "avenger5" -type d) " + # then, site avenger specific projects. + REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) " + fi # the archive collections list is a set of directories that are major # repositories of data which can be synched to backup drives. diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index d97e1f52..02e107a5 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -15,18 +15,7 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then fi # add a bunch of personal folders to the list for checkin & checkout. - REPOSITORY_LIST+="cloud ebooks web " - # add in any active projects. - if [ -d "$HOME/active" ]; then - REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d) " - fi - # add in any of my applications that are in the apps folder. - if [ -d "$HOME/apps" ]; then - # first, simple projects. - REPOSITORY_LIST+="$(find "$HOME/apps" -iname "avenger5" -type d) " - # then, site avenger specific projects. - REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) " - fi + REPOSITORY_LIST+=" cloud ebooks web " # adds our locally relevant archive folders into the list to be synched. ARCHIVE_COLLECTIONS_LIST+="/z/basement /z/imaginations /z/musix /z/toaster /z/walrus" -- 2.34.1