Просмотр исходного кода

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

Julian Andres Klode лет назад: 15
Родитель
Сommit
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)
 {
    CacheFile Cache;
+
+   _config->Set("APT::Install-Recommends", false);
+   
    if (Cache.Open(true) == 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).
   * apt-pkg/acquire-item.cc:
     - 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 ]
   * mirror method: