From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1786C159C9B for ; Mon, 5 Aug 2024 02:02:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 598EDE2AE7; Mon, 5 Aug 2024 02:02:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFED5E2AE7 for ; Mon, 5 Aug 2024 02:02:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E74B9341256 for ; Mon, 5 Aug 2024 02:02:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 537E11E9F for ; Mon, 5 Aug 2024 02:02:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1722815602.fed96ec1da2fad4070a02803ceef4a322a87eb4f.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-functions:master commit in: functions/ X-VCS-Repository: proj/gentoo-functions X-VCS-Files: functions/rc.sh X-VCS-Directories: functions/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fed96ec1da2fad4070a02803ceef4a322a87eb4f X-VCS-Branch: master Date: Mon, 5 Aug 2024 02:02:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54fc5934-66eb-468f-a157-b57a45b1397b X-Archives-Hash: e5fc54604d7f771793d34121846eb083 commit: fed96ec1da2fad4070a02803ceef4a322a87eb4f Author: Kerin Millar plushkava net> AuthorDate: Sun Aug 4 23:48:04 2024 +0000 Commit: Sam James gentoo 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 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