From: Zac Medico Date: Sun, 22 Jul 2007 06:38:42 +0000 (-0000) Subject: Make --prune pull in the system set since that could pull in some slots that wouldn... X-Git-Tag: v2.1.3~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=50504a0b7e15ecd7345880137478b12ae77f9dd0;p=portage.git Make --prune pull in the system set since that could pull in some slots that wouldn't be pulled in otherwise. (trunk r7343) svn path=/main/branches/2.1.2/; revision=7346 --- diff --git a/bin/emerge b/bin/emerge index 518872475..f3952ea59 100755 --- a/bin/emerge +++ b/bin/emerge @@ -5326,6 +5326,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())