From 3601d79fe8d439a8f3e5c4a158c0d6120b7653f8 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Fri, 13 Feb 2026 09:27:11 -0500 Subject: [PATCH] added the important custom folders for web --- scripts/customize/fred/fred_variables.sh | 16 +++++----------- scripts/customize/www-data/web_variables.sh | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 scripts/customize/www-data/web_variables.sh diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index 1ba00a19..f601605c 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -4,6 +4,8 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # if we don't see the customizations variable defined, this probably hasn't run yet. + ############## + # stuff our special bins in front of the other bin paths. export PATH=/usr/local/fred/bin:$PATH @@ -13,22 +15,14 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # logged historical file where we append our latest report. define_yeti_variable FRED_HAMSTER_OVERLOAD_REPORT_FILE="$CLOUD_BASE/stats/overload_history.txt" - # The gruntose web site is expected to reside below, if it exists at all. - export WEBBED_SITES=$HOME/web - if [ "$(hostname)" = "hamstertronic" ]; then - export WEBBED_SITES=/var/www - fi - # add a bunch of personal folders to the list for checkin & checkout. fred_addins=" $CLOUD_BASE \ $FEISTY_MEOW_PERSONAL_HOME/web" - REPOSITORY_LIST_TO_PULL=" $fred_addins \ - ${REPOSITORY_LIST_TO_PULL} " + REPOSITORY_LIST_TO_PULL+="$fred_addins " # for fred, we add in a commit of feisty_meow code. this is not something # everyone can do, thus not everyone should use fred's config. - REPOSITORY_LIST_TO_COMMIT=" $fred_addins \ - ${FEISTY_MEOW_APEX} \ - ${REPOSITORY_LIST_TO_COMMIT} " + REPOSITORY_LIST_TO_COMMIT+="$fred_addins \ + ${FEISTY_MEOW_APEX} " unset fred_addins # adds our locally relevant archive folders into the list to be synched. diff --git a/scripts/customize/www-data/web_variables.sh b/scripts/customize/www-data/web_variables.sh new file mode 100644 index 00000000..0353f3fe --- /dev/null +++ b/scripts/customize/www-data/web_variables.sh @@ -0,0 +1,19 @@ + +# overrides for the web user, www-data. + +if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then + + # if we don't see the customizations variable defined, this probably hasn't run yet. + + ############## + + REPOSITORY_LIST_TO_PULL+="$FEISTY_MEOW_PERSONAL_HOME/web " + REPOSITORY_LIST_TO_COMMIT+="$FEISTY_MEOW_PERSONAL_HOME/web " + + ############## + + # customization sentinel can be set now. + export USER_CUSTOMIZATIONS_LOADED=true +fi + + -- 2.43.0