aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-06-24 21:01:26 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-06-24 21:01:26 (GMT)
commit324bf88228b7be64814e99dd96ad73a204a5df63 (patch)
tree13038b518cdeef4ae82d1d2ed308195f1477910e
parentprotected_symlinks: change eerror to elog (diff)
downloadportage-324bf88228b7be64814e99dd96ad73a204a5df63.zip
portage-324bf88228b7be64814e99dd96ad73a204a5df63.tar.gz
portage-324bf88228b7be64814e99dd96ad73a204a5df63.tar.bz2
protected_symlinks: suggest course of action
See discussion in bug #423127.
-rw-r--r--pym/portage/dbapi/vartree.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 7866870..34098ea 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2370,7 +2370,11 @@ class dblink(object):
if protected_symlinks:
msg = "One or more symlinks to directories have been " + \
"preserved in order to ensure that files installed " + \
- "via these symlinks remain accessible:"
+ "via these symlinks remain accessible. " + \
+ "This indicates that the mentioned symlink(s) may " + \
+ "be obsolete remnants of an old install, and it " + \
+ "may be appropriate to replace a given symlink " + \
+ "with the directory that it points to."
lines = textwrap.wrap(msg, 72)
lines.append("")
flat_list = set()