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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE296158042 for ; Wed, 13 Nov 2024 20:26:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5E8CE0843; Wed, 13 Nov 2024 20:26:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC6D4E0843 for ; Wed, 13 Nov 2024 20:26:32 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 48BE6335D6A for ; Wed, 13 Nov 2024 20:26:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA4BE1D23 for ; Wed, 13 Nov 2024 20:26:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1731527867.167f0040d0ea65194056b85602c46a098168ea26.ulm@gentoo> Subject: [gentoo-commits] proj/eselect:master commit in: /, modules/ X-VCS-Repository: proj/eselect X-VCS-Files: ChangeLog modules/profile.eselect X-VCS-Directories: modules/ / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 167f0040d0ea65194056b85602c46a098168ea26 X-VCS-Branch: master Date: Wed, 13 Nov 2024 20:26:28 +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: 55d9f3b4-d90c-486e-ad1c-817e93ae33a0 X-Archives-Hash: f0b560dc07b6eeb6c031ec6230ccc730 commit: 167f0040d0ea65194056b85602c46a098168ea26 Author: Ulrich Müller gentoo org> AuthorDate: Wed Nov 13 19:57:47 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Nov 13 19:57:47 2024 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=167f0040 Warn about deprecated make.profile location * modules/profile.eselect (get_symlink_location): Warn about deprecated /etc/make.profile location. Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 3 +++ modules/profile.eselect | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf6b092..5764686 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-11-13 Ulrich Müller + * modules/profile.eselect (get_symlink_location): Warn about + deprecated /etc/make.profile location. + * misc/eselect-mode.el (eselect-mode-keywords-*): Delete. (eselect-mode-keywords-0): Combine keywords in one variable. (eselect-mode-font-lock-keywords): Use the new variable. diff --git a/modules/profile.eselect b/modules/profile.eselect index 31b2c6a..8c74dd9 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright 2005-2023 Gentoo Authors +# Copyright 2005-2024 Gentoo Authors # Distributed under the terms of the GNU GPL version 2 or later # This is a portage-only module. @@ -20,9 +20,11 @@ get_symlink_location() { if [[ -e ${oldloc} ]]; then if [[ -e ${newloc} ]]; then write_warning_msg "Both ${oldloc} and ${newloc} exist." - write_warning_msg "Using ${MAKE_PROFILE}." + write_warning_msg "Using ${newloc}." else MAKE_PROFILE=${oldloc} + write_warning_msg "Deprecated location ${oldloc}." + write_warning_msg "The profile symlink should be at ${newloc}." fi fi }