Skip unmerge of libdir symlinks for bug #423127. v2.2.0_alpha112
authorZac Medico <zmedico@gentoo.org>
Sat, 23 Jun 2012 20:39:27 +0000 (13:39 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 23 Jun 2012 20:39:27 +0000 (13:39 -0700)
pym/portage/dbapi/vartree.py

index e2b1b9bb270884a6e9c1b742247ce2521238ebf0..020240d613b6f48dcde36af4e141ce611a346b12 100644 (file)
@@ -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