Allow depclean to silently skip packages unmerged behind it's back.
authorZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 22:47:38 +0000 (22:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 22:47:38 +0000 (22:47 -0000)
svn path=/main/trunk/; revision=5192

bin/emerge

index a5fdad3907264d8befa5301d2230d70369d55e2d..fd0edafd06c0c100f4d5c94160eb1f2b476db4da 100755 (executable)
@@ -3996,7 +3996,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
 
        if len(cleanlist):
                unmerge(settings, myopts, trees[settings["ROOT"]]["vartree"],
-                       "unmerge", cleanlist, ldpath_mtimes)
+                       "unmerge", cleanlist, ldpath_mtimes, raise_on_missing=False)
 
        print "Packages installed:   "+str(len(myvarlist))
        print "Packages in world:    "+str(len(worldlist))