summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-13 11:33:41 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-13 11:33:41 +0200
commit3518021283aa5d44e441fdce59615ca2af9d94fc (patch)
tree51afb4f79ccc7893444652c8939f756c2533c43b /cmdline
parenta6dba137a3d8e011215ba86f55963f33fb8c45ff (diff)
* cmdline/apt-get.cc:
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6ffecd777..e2d9bb7d4 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2638,6 +2638,9 @@ bool DoSource(CommandLine &CmdL)
bool DoBuildDep(CommandLine &CmdL)
{
CacheFile Cache;
+
+ _config->Set("APT::Install-Recommends", false);
+
if (Cache.Open(true) == false)
return false;