summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-07-28 09:59:06 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-07-28 09:59:06 +0000
commit770c32ec8572c397d035d2703a15b699d4a76842 (patch)
treea040ce50f217b0a1e1787fba80a4fe9c9edc90be /apt-pkg/init.cc
parent0432d7310f8b2f356b116774c266744954d1667c (diff)
* code cleanups (thanks matt!), moved UsePackage before the description list build in pkgcachegen to catch MMap errors early
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 3e4c17289..6118845e8 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -33,9 +33,6 @@ const char *pkgOS = COMMON_OS;
is prepended, this allows a fair degree of flexability. */
bool pkgInitConfig(Configuration &Cnf)
{
- // Translation
- Cnf.Set("APT::Acquire::Translation", "environment");
-
// General APT things
if (strcmp(COMMON_OS,"linux") == 0 ||
strcmp(COMMON_OS,"unknown") == 0)
@@ -104,6 +101,9 @@ bool pkgInitConfig(Configuration &Cnf)
bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
}
#endif
+
+ // Translation
+ Cnf.Set("APT::Acquire::Translation", "environment");
return true;
}