summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/deblistparser.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-06-09 11:51:45 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-06-09 11:51:45 +0200
commit85c26e8c9a04e98d1b5dc330d18429f628f230d4 (patch)
tree2d532846b97ef39cce121d4da3cc8e4cce411b4d /apt-pkg/deb/deblistparser.cc
parent6885f3def825a5a0be6bb1715c800fada22f9b73 (diff)
* apt-pkg/deb/deblistparser.cc:
- include all known languages when building the apt cache (LP: #794907)
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r--apt-pkg/deb/deblistparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index b59ae8896..ff6de2d9f 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -201,7 +201,7 @@ string debListParser::DescriptionLanguage()
if (Section.FindS("Description").empty() == false)
return "";
- std::vector<string> const lang = APT::Configuration::getLanguages();
+ std::vector<string> const lang = APT::Configuration::getLanguages(true);
for (std::vector<string>::const_iterator l = lang.begin();
l != lang.end(); l++)
if (Section.FindS(string("Description-").append(*l).c_str()).empty() == false)