X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fcore%2Fvariables.sh;h=976c7898cbfd20ee14ffda97e0ee4443e9da05e9;hb=7855dffd661648e637617b312e9ad2ca9b444083;hp=cf25fa2267f2bb09670fe75361fb2db487d898f7;hpb=fe038e66197671e7ba00f71998bf2d8d7793d36d;p=feisty_meow.git 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.