summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debindexfile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/deb/debindexfile.cc')
-rw-r--r--apt-pkg/deb/debindexfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 67fddfbd4..ffecbdfca 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -406,7 +406,7 @@ string debTranslationsIndex::Info(const char *Type) const
/* */
bool debTranslationsIndex::Exists() const
{
- return true;
+ return FileExists(IndexFile(LanguageCode().c_str()));
}
/*}}}*/
// TranslationsIndex::Size - Return the size of the index /*{{{*/