diff options
-rw-r--r-- | pym/emerge/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 485c22c9a..3799627ef 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -5363,6 +5363,9 @@ def action_depclean(settings, trees, ldpath_mtimes, if vardb.match(atom): remaining_atoms.append((atom, 'system', hard)) elif action == "prune": + for atom in syslist: + if vardb.match(atom): + remaining_atoms.append((atom, 'system', hard)) # Pull in everything that's installed since we don't want to prune a # package if something depends on it. remaining_atoms.extend((atom, 'world', hard) for atom in vardb.cp_all()) |