From c5597900026cf124654b808c800c4731a2eb655c Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 25 Oct 2007 09:25:02 -0200 Subject: * Applied patch from Daniel Leidert to fix APT::Acquire::Translation "none" support, closes: #437523. --- apt-pkg/init.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apt-pkg') 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; } /*}}}*/ -- cgit v1.2.3