summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-25 09:25:02 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-25 09:25:02 -0200
commitc5597900026cf124654b808c800c4731a2eb655c (patch)
treec443556b0e909fe479758118f44069cdafecdb6d /apt-pkg
parentcad7d9577087be3fa797777c18b9a7e84adaae82 (diff)
* Applied patch from Daniel Leidert <daniel.leidert@wgdd.de> to fix
APT::Acquire::Translation "none" support, closes: #437523.
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/init.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 2b412e16b..338bef66c 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -72,7 +72,10 @@ bool pkgInitConfig(Configuration &Cnf)
// State
Cnf.Set("Dir::Log","var/log/apt");
Cnf.Set("Dir::Log::Terminal","term.log");
-
+
+ // Translation
+ Cnf.Set("APT::Acquire::Translation", "environment");
+
bool Res = true;
// Read an alternate config file
@@ -104,9 +107,6 @@ bool pkgInitConfig(Configuration &Cnf)
}
#endif
- // Translation
- Cnf.Set("APT::Acquire::Translation", "environment");
-
return true;
}
/*}}}*/