diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-29 04:56:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-29 04:56:18 +0000 |
commit | 95eabb177220170143cad3b7d805447bf44500ab (patch) | |
tree | b66445ea35b6d084e3218a102650b1ee9d624a52 /pym | |
parent | 5c4ad848332eb92cf3f028f15bf4768912ae7786 (diff) | |
download | portage-95eabb177220170143cad3b7d805447bf44500ab.tar.gz portage-95eabb177220170143cad3b7d805447bf44500ab.tar.bz2 portage-95eabb177220170143cad3b7d805447bf44500ab.zip |
Make the unmerge time CONFIG_MEMORY_FILE pruning slightly more aggressive,
so that anything not claimed by another package in the same slot is
pruned. (trunk r10474)
svn path=/main/branches/2.1.2/; revision=10475
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/portage.py b/pym/portage.py index 1995c4945..21f20539a 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -8979,9 +8979,6 @@ class dblink: continue if obj.startswith(dest_root): relative_path = obj[dest_root_len:] - if not others_in_slot and \ - relative_path in cfgfiledict: - stale_confmem.append(relative_path) is_owned = False for dblnk in others_in_slot: if dblnk.isowner(relative_path, dest_root): @@ -8992,6 +8989,8 @@ class dblink: # don't unmerge it. show_unmerge("---", "replaced", file_type, obj) continue + elif relative_path in cfgfiledict: + stale_confmem.append(relative_path) # next line includes a tweak to protect modules from being unmerged, # but we don't protect modules from being overwritten if they are # upgraded. We effectively only want one half of the config protection |