diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-07-28 09:59:06 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-07-28 09:59:06 +0000 |
commit | 770c32ec8572c397d035d2703a15b699d4a76842 (patch) | |
tree | a040ce50f217b0a1e1787fba80a4fe9c9edc90be /apt-pkg/init.cc | |
parent | 0432d7310f8b2f356b116774c266744954d1667c (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.cc | 6 |
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; } |