]> feistymeow.org Git - feisty_meow.git/commitdiff
added the important custom folders for web
authorFred T. Hamster <fred@feistymeow.org>
Fri, 13 Feb 2026 14:27:11 +0000 (09:27 -0500)
committerFred T. Hamster <fred@feistymeow.org>
Fri, 13 Feb 2026 14:27:11 +0000 (09:27 -0500)
scripts/customize/fred/fred_variables.sh
scripts/customize/www-data/web_variables.sh [new file with mode: 0644]

index 1ba00a19bd6f19cd312e008225c3e71af9721d83..f601605cce521444388939a3054800a64327b3ba 100644 (file)
@@ -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 (file)
index 0000000..0353f3f
--- /dev/null
@@ -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
+
+