summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debindexfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-13 17:51:05 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-13 17:51:05 +0000
commite82bdb118257ddea01a26f0c5503e06d17ae8794 (patch)
tree1b0f0a46b29bb14cdff0bbdbabddde0296ec3267 /apt-pkg/deb/debindexfile.cc
parent0430b189a2334653852de4f1a65d2833b281f4ce (diff)
* fix for output of the description and the debTranslationsIndex::Exists()
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 /*{{{*/