projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64c2bdc
)
apt-pkg/deb/debindexfile.cc: kill off another TranslationsAvailable() usage that...
author
Michael Vogt
<michael.vogt@ubuntu.com>
Thu, 9 Jun 2011 11:30:08 +0000
(13:30 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Thu, 9 Jun 2011 11:30:08 +0000
(13:30 +0200)
apt-pkg/deb/debindexfile.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/deb/debindexfile.cc
b/apt-pkg/deb/debindexfile.cc
index 1d828c144de1a0cc52f299b8005f2a8c0666178f..c9e7f11767f295c48937759ccebaad49f4abc5bd 100644
(file)
--- a/
apt-pkg/deb/debindexfile.cc
+++ b/
apt-pkg/deb/debindexfile.cc
@@
-423,12
+423,10
@@
string debTranslationsIndex::IndexURI(const char *Type) const
/* */
bool debTranslationsIndex::GetIndexes(pkgAcquire *Owner) const
{
- if (TranslationsAvailable()) {
- string const TranslationFile = string("Translation-").append(Language);
- new pkgAcqIndexTrans(Owner, IndexURI(Language),
- Info(TranslationFile.c_str()),
- TranslationFile);
- }
+ string const TranslationFile = string("Translation-").append(Language);
+ new pkgAcqIndexTrans(Owner, IndexURI(Language),
+ Info(TranslationFile.c_str()),
+ TranslationFile);
return true;
}