diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:16 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:16 +0000 |
commit | e5a1f2ff4cd1300364c7c644958583a8af704173 (patch) | |
tree | 0de63b5defdb7289d908b6e835d26a7b8125fc9c /apt-pkg | |
parent | 8cdf81e9b6cf4582c2ff7cf0f01f8b5ce4fbc323 (diff) | |
download | apt-e5a1f2ff4cd1300364c7c644958583a8af704173.tar.gz |
Fixed size mismatch
Author: jgg
Date: 1999-03-26 07:38:43 GMT
Fixed size mismatch
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 81127efb..727f0146 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.14 1998/12/22 08:01:04 jgg Exp $ +// $Id: depcache.cc,v 1.15 1999/03/26 07:38:43 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -215,7 +215,8 @@ void pkgDepCache::AddSizes(const PkgIterator &Pkg,long Mult) { StateCache &P = PkgState[Pkg->ID]; - if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure) + if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure && + P.Keep() == true) { iUsrSize += Mult*P.InstVerIter(*this)->InstalledSize; return; |