From c9a64a4dc57e49e9a92e5e8c3e32ea9619534a58 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:33 +0000 Subject: Do not count sizes of to be configured packages Author: jgg Date: 1999-04-16 21:46:13 GMT Do not count sizes of to be configured packages --- apt-pkg/depcache.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'apt-pkg/depcache.cc') diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 1529eb364..7d1ff05ea 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: depcache.cc,v 1.16 1999/04/12 04:21:20 jgg Exp $ +// $Id: depcache.cc,v 1.17 1999/04/16 21:46:13 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -205,10 +205,7 @@ void pkgDepCache::AddSizes(const PkgIterator &Pkg,long Mult) if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure && P.Keep() == true) - { - iUsrSize += Mult*P.InstVerIter(*this)->InstalledSize; return; - } // Compute the size data if (P.NewInstall() == true) -- cgit v1.2.3