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 /modules/profile.eselect
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>
Diffstat (limited to 'modules/profile.eselect')
-rw-r--r--modules/profile.eselect6
1 files changed, 4 insertions, 2 deletions
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
}