From ada25682b2f709ece15295913f9785ba04b62fa0 Mon Sep 17 00:00:00 2001
From: Sam Gleske <sag47@drexel.edu>
Date: Fri, 13 Sep 2013 12:57:47 -0400
Subject: [PATCH] Version bump.  enable_colors checking added.

---
 add_mirror.sh | 11 +++++++++++
 lib/VERSION   |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/add_mirror.sh b/add_mirror.sh
index 99abc29..0e7def3 100755
--- a/add_mirror.sh
+++ b/add_mirror.sh
@@ -160,6 +160,17 @@ function preflight() {
     red_echo " does not exist!"
     STATUS=1
   fi
+  #test enable_colors environment variable (must be bool)
+  if [ ! "${enable_colors}" = "true" ] && [ ! "${enable_colors}" = "false" ];then
+    red_echo -n "enable_colors="
+    yellow_echo -n "${enable_colors}"
+    red_echo -n "is not a valid option for enable_colors!  Must be "
+    yellow_echo -n "true"
+    red_echo -n "or "
+    yellow_echo -n "false"
+    red_echo "." 1>&2
+    STATUS=1
+  fi
   #test issues_enabled environment variable (must be bool)
   if [ ! "${issues_enabled}" = "true" ] && [ ! "${issues_enabled}" = "false" ];then
     red_echo -n "issues_enabled="
diff --git a/lib/VERSION b/lib/VERSION
index a14bfe0..ee3de98 100644
--- a/lib/VERSION
+++ b/lib/VERSION
@@ -1 +1 @@
-VERSION="v0.2"
+VERSION="v0.2.2"
-- 
GitLab