aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-11-13 20:57:47 +0100
committerUlrich Müller <ulm@gentoo.org>2024-11-13 20:57:47 +0100
commit167f0040d0ea65194056b85602c46a098168ea26 (patch)
tree6440a3645becb631b2d1d4fa661f5842d3eca779
parenteselect-mode: Combine font-lock keywords in one variable (diff)
downloadeselect-167f0040d0ea65194056b85602c46a098168ea26.tar.gz
eselect-167f0040d0ea65194056b85602c46a098168ea26.tar.bz2
eselect-167f0040d0ea65194056b85602c46a098168ea26.zip
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 <ulm@gentoo.org>
-rw-r--r--ChangeLog3
-rw-r--r--modules/profile.eselect6
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 <ulm@gentoo.org>
+ * 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
}