diff options
author | Kerin Millar <kfm@plushkava.net> | 2024-08-05 00:48:04 +0100 |
---|---|---|
committer | Kerin Millar <kfm@plushkava.net> | 2024-08-05 00:53:22 +0100 |
commit | fed96ec1da2fad4070a02803ceef4a322a87eb4f (patch) | |
tree | 9613bcbb8f0e13c95679cba6c1e690ea34b1d3a8 /functions | |
parent | Add the assign() and deref() functions (diff) | |
download | gentoo-functions-fed96ec1da2fad4070a02803ceef4a322a87eb4f.tar.gz gentoo-functions-fed96ec1da2fad4070a02803ceef4a322a87eb4f.tar.bz2 gentoo-functions-fed96ec1da2fad4070a02803ceef4a322a87eb4f.zip |
Do not yet deprecate RC_NOCOLOR
It would be sensible to conduct a survey to determine whether - and
where - it is being used beforehand.
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Diffstat (limited to 'functions')
-rw-r--r-- | functions/rc.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/functions/rc.sh b/functions/rc.sh index 9b1fc5d..12444d1 100644 --- a/functions/rc.sh +++ b/functions/rc.sh @@ -426,9 +426,7 @@ _is_visible() #------------------------------------------------------------------------------# # Determine whether the use of color is to be wilfully avoided. -if [ "${RC_NOCOLOR+set}" ]; then - warn "the RC_NOCOLOR variable is deprecated by gentoo-functions; please set NO_COLOR instead" -elif [ -n "${NO_COLOR}" ]; then +if [ "${NO_COLOR}" ]; then # See https://no-color.org/. RC_NOCOLOR=yes else |