From e0fa8f389867d78438451ed4a8b1af1ea89b65b6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 23 Jun 2012 13:39:27 -0700 Subject: [PATCH] Skip unmerge of libdir symlinks for bug #423127. --- pym/portage/dbapi/vartree.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index e2b1b9bb2..020240d61 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -2181,6 +2181,12 @@ class dblink(object): ignore = True break + if not ignore: + if islink and f_match in \ + ("/lib", "/usr/lib", "/usr/local/lib"): + # Ignore libdir symlinks for bug #423127. + ignore = True + if ignore: show_unmerge("---", unmerge_desc["cfgpro"], file_type, obj) continue -- 2.26.2