瀏覽代碼

* cmdline/apt-get.cc:
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)

Julian Andres Klode 15 年之前
父節點
當前提交
3518021283
共有 2 個文件被更改,包括 5 次插入0 次删除
  1. 3 0
      cmdline/apt-get.cc
  2. 2 0
      debian/changelog

+ 3 - 0
cmdline/apt-get.cc

@@ -2638,6 +2638,9 @@ bool DoSource(CommandLine &CmdL)
 bool DoBuildDep(CommandLine &CmdL)
 bool DoBuildDep(CommandLine &CmdL)
 {
 {
    CacheFile Cache;
    CacheFile Cache;
+
+   _config->Set("APT::Install-Recommends", false);
+   
    if (Cache.Open(true) == false)
    if (Cache.Open(true) == false)
       return false;
       return false;
 
 

+ 2 - 0
debian/changelog

@@ -6,6 +6,8 @@ apt (0.8.13.3) UNRELEASED; urgency=low
       things a directory named Sources to exist on a CD-ROM (LP: #750694).
       things a directory named Sources to exist on a CD-ROM (LP: #750694).
   * apt-pkg/acquire-item.cc:
   * apt-pkg/acquire-item.cc:
     - Use Release files even if they cannot be verified (LP: #704595)
     - Use Release files even if they cannot be verified (LP: #704595)
+  * cmdline/apt-get.cc:
+    - Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
   
   
   [ Michael Vogt ]
   [ Michael Vogt ]
   * mirror method:
   * mirror method: