diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:58 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:58 +0000 |
commit | be8922fdc7521f4172e166b274430540be1913a8 (patch) | |
tree | b64a98adb78624da4b92b66b33dbb1c1cc402364 /apt-pkg/pkgcachegen.cc | |
parent | 2b154e536a0df3afb318ddcf9b7daf9337de3c23 (diff) |
Flag to fetch the source index
Author: jgg
Date: 1999-03-02 18:35:24 GMT
Flag to fetch the source index
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 402d2e4ff..bb678154c 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgcachegen.cc,v 1.30 1999/02/23 06:50:36 jgg Exp $ +// $Id: pkgcachegen.cc,v 1.31 1999/03/02 18:35:24 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -422,6 +422,10 @@ bool pkgSrcCacheCheck(pkgSourceList &List) int Missing = 0; for (pkgSourceList::const_iterator I = List.begin(); I != List.end(); I++) { + // Only cache deb source types. + if (I->Type != pkgSourceList::Item::Deb) + continue; + string File = ListDir + URItoFileName(I->PackagesURI()); struct stat Buf; if (stat(File.c_str(),&Buf) != 0) |