diff --git a/add_mirror.sh b/add_mirror.sh index 99abc29394b660d946c80705b7dda98d667a0c13..0e7def3d1fc49190530e2090a1ff3acc6832a2ad 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 a14bfe08a4a494415551ca2091cd8b03252ec96b..ee3de9834db1de633a7fac274fef973d5e51ad7f 100644 --- a/lib/VERSION +++ b/lib/VERSION @@ -1 +1 @@ -VERSION="v0.2" +VERSION="v0.2.2"