commit: fed96ec1da2fad4070a02803ceef4a322a87eb4f
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Aug 4 23:48:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 4 23:53:22 2024 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=fed96ec1
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 <AT> plushkava.net>
functions/rc.sh | 4 +---
1 file changed, 1 insertion(+), 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