1 |
commit: 324bf88228b7be64814e99dd96ad73a204a5df63 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 24 21:01:26 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 24 21:01:26 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=324bf882 |
7 |
|
8 |
protected_symlinks: suggest course of action |
9 |
|
10 |
See discussion in bug #423127. |
11 |
|
12 |
--- |
13 |
pym/portage/dbapi/vartree.py | 6 +++++- |
14 |
1 files changed, 5 insertions(+), 1 deletions(-) |
15 |
|
16 |
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py |
17 |
index 7866870..34098ea 100644 |
18 |
--- a/pym/portage/dbapi/vartree.py |
19 |
+++ b/pym/portage/dbapi/vartree.py |
20 |
@@ -2370,7 +2370,11 @@ class dblink(object): |
21 |
if protected_symlinks: |
22 |
msg = "One or more symlinks to directories have been " + \ |
23 |
"preserved in order to ensure that files installed " + \ |
24 |
- "via these symlinks remain accessible:" |
25 |
+ "via these symlinks remain accessible. " + \ |
26 |
+ "This indicates that the mentioned symlink(s) may " + \ |
27 |
+ "be obsolete remnants of an old install, and it " + \ |
28 |
+ "may be appropriate to replace a given symlink " + \ |
29 |
+ "with the directory that it points to." |
30 |
lines = textwrap.wrap(msg, 72) |
31 |
lines.append("") |
32 |
flat_list = set() |