cleaning in updaters
[feisty_meow.git] / scripts / core / variables.sh
index bd11c4654303377fef87642661c470262b2d0b98..962535f11626c4fc9f75fab0f92b98cbb282a56a 100644 (file)
@@ -130,7 +130,20 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then
   fi
   
   ##############
+
+  # set up the color_add variable which is a flag that lets ls know colors work.
+
+  # test if we can use color in ls...
+  ls --help 2>&1 | grep -i -q color
+  if [ $? -eq 0 ]; then
+    export color_add='--color=auto'
+  else
+    export color_add=
+  fi
+  unset test_ls_colors
   
+  ##############
+
   # umask sets a permission mask for all file creations.
   # this mask disallows writes by "group" and "others".
   umask 022
@@ -163,7 +176,7 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then
       # choose perl's IO over the ms-windows version so we can handle file
       # bytes properly.
   fi
-  
+
   # iterate across our sub-directories and find the perl scripts.
   # this currently only looks one level down.
   for i in $FEISTY_MEOW_SCRIPTS/*; do
@@ -194,8 +207,13 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then
   # names can be added in your customized scripts.  the space at the end of
   # this variable is important and allows users to extend the list like:
   #    define_yeti_variable REPOSITORY_DIR+="muppets configs"
-  define_yeti_variable REPOSITORY_LIST="feisty_meow "
+  # see the customize/fred folder for a live example.
+  define_yeti_variable REPOSITORY_LIST=
   
+  # the archive collections list is a set of directories that are major
+  # repositories of data which can be synched to backup drives.
+  define_yeti_variable ARCHIVE_COLLECTIONS_LIST=
+
   # initializes the feisty meow build variables, if possible.
   function initialize_build_variables()
   {