diff options
Diffstat (limited to 'include/profiles')
-rw-r--r-- | include/profiles | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/profiles b/include/profiles index 2e8556b8..11917586 100644 --- a/include/profiles +++ b/include/profiles @@ -65,6 +65,17 @@ CHECK_VALUE_ARRAY="${CHECK_OPTION_ARRAY} ${STRING}" ;; + # Colored output + colors) + # Quick mode (SKIP_PLUGINS) might already be set outside profile, so store in different variable + SETTING_COLORS=1 # default is yes + FIND=$(echo "${VALUE}" | egrep "^(0|false|no)$") && COLORS=0 + if [ ! -z "${FIND}" ]; then SETTING_COLORS=0; RemoveColors; fi + Debug "Colors set to ${SETTING_COLORS}" + AddSetting "colors" "${SETTING_COLORS}" "Colored screen output" + unset SETTING_COLORS + ;; + # Ignore configuration data config-data) Debug "Ignoring configuration option, as it will be used by a specific test" |