From b59c4542eab4b88134324cb22608860031c6b45f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Jul 2007 06:06:41 +0000 Subject: Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. svn path=/main/trunk/; revision=7343 --- pym/emerge/__init__.py | 3 +++ 1 file changed, 3 insertions(+) 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()) -- cgit v1.2.3-1-g7c22