summaryrefslogtreecommitdiff
path: root/apt-pkg/init.cc
diff options
context:
space:
mode:
authorbubulle@debian.org <>2007-06-12 20:45:41 +0200
committerbubulle@debian.org <>2007-06-12 20:45:41 +0200
commit90a88b83020eb9526951eec83e3075b54653fa33 (patch)
tree96fee339221e3a8c5e02b28554465970d671b49c /apt-pkg/init.cc
parent8de27dc625e6a16b7be6eff6eec323cfe9bd9a57 (diff)
parent47026cdea6ba7d145922ce21d5ec478598126b8d (diff)
Sync with Michael
Reintegrate disappeared po/ku.po and po/uk.po then activate those translations
Diffstat (limited to 'apt-pkg/init.cc')
-rw-r--r--apt-pkg/init.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index b47378d4a..2f15486d9 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -14,6 +14,7 @@
#include <apti18n.h>
#include <config.h>
+#include <cstdlib>
#include <sys/stat.h>
/*}}}*/
@@ -40,6 +41,8 @@ bool pkgInitConfig(Configuration &Cnf)
else
Cnf.Set("APT::Architecture",COMMON_OS "-" COMMON_CPU);
Cnf.Set("APT::Build-Essential::", "build-essential");
+ Cnf.Set("APT::Install-Recommends", false);
+ Cnf.Set("APT::Install-Suggests", false);
Cnf.Set("Dir","/");
// State
@@ -102,6 +105,9 @@ bool pkgInitConfig(Configuration &Cnf)
bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
}
#endif
+
+ // Translation
+ Cnf.Set("APT::Acquire::Translation", "environment");
return true;
}