From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-functions:master commit in: functions/
Date: Mon, 5 Aug 2024 02:02:15 +0000 (UTC) [thread overview]
Message-ID: <1722815602.fed96ec1da2fad4070a02803ceef4a322a87eb4f.sam@gentoo> (raw)
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
next reply other threads:[~2024-08-05 2:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 2:02 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-02 23:14 [gentoo-commits] proj/gentoo-functions:master commit in: functions/ Sam James
2024-07-07 5:55 Sam James
2024-07-07 5:55 Sam James
2024-07-07 5:55 Sam James
2024-06-25 4:06 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1722815602.fed96ec1da2fad4070a02803ceef4a322a87eb4f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox