diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-05-13 14:40:29 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-05-13 14:40:29 +0000 |
commit | f416d22e97c56eedc8b4303a5aecfffaaa23eb1c (patch) | |
tree | 7448f5bd7ed1e07d2f90649b323cf51f496d08c2 /apt-pkg/deb/debindexfile.h | |
parent | 9f6500a4e3003e31f5887a336b7abb190b52b90c (diff) |
* fixed a problem when it comes to the cache rebuilding
Diffstat (limited to 'apt-pkg/deb/debindexfile.h')
-rw-r--r-- | apt-pkg/deb/debindexfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debindexfile.h b/apt-pkg/deb/debindexfile.h index 6d423318e..02c776882 100644 --- a/apt-pkg/deb/debindexfile.h +++ b/apt-pkg/deb/debindexfile.h @@ -96,7 +96,7 @@ class debTranslationsIndex : public pkgIndexFile // Interface for the Cache Generator virtual bool Exists() const; - virtual bool HasPackages() const {return true;}; + virtual bool HasPackages() const { return UseTranslation();}; virtual unsigned long Size() const; virtual bool Merge(pkgCacheGenerator &Gen,OpProgress &Prog) const; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const; |