From 50504a0b7e15ecd7345880137478b12ae77f9dd0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Jul 2007 06:38:42 +0000 Subject: 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 --- bin/emerge | 3 +++ 1 file changed, 3 insertions(+) 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()) -- cgit v1.2.3-1-g7c22