diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-06-21 01:53:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-06-21 01:53:25 +0000 |
commit | e8a5e7f403c310625b72d2301ccdf5051330fb9b (patch) | |
tree | 2512c3fdc25059d594fc76a56dea547ff31a53aa | |
parent | b6eb078f36ed5565f829c0c0b8b642ca719bf046 (diff) | |
download | portage-e8a5e7f403c310625b72d2301ccdf5051330fb9b.tar.gz portage-e8a5e7f403c310625b72d2301ccdf5051330fb9b.tar.bz2 portage-e8a5e7f403c310625b72d2301ccdf5051330fb9b.zip |
Do not unmerge fifo files because, since their mtime is not stored in CONTENTS, we can't be sure if they belong to another package unless we search through all CONTENTS for all installed packages. See bug #136199. This patch is from trunk r3482.
svn path=/main/branches/2.1/; revision=3556
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pym/portage.py b/pym/portage.py index 954af4069..c8c1570f8 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6078,11 +6078,7 @@ class dblink: if not stat.S_ISFIFO(lstatobj[stat.ST_MODE]): writemsg_stdout("--- !fif %s %s\n" % ("fif", obj)) continue - try: - os.unlink(obj) - except (OSError,IOError),e: - pass - writemsg_stdout("<<< %s %s\n" % ("fif",obj)) + writemsg_stdout("--- %s %s\n" % ("fif",obj)) elif pkgfiles[objkey][0]=="dev": writemsg_stdout("--- %s %s\n" % ("dev",obj)) |