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

* cmdline/apt-get.cc:
- if --print-uris is used don't setup downloader as we don't need
progress, lock nor the directories it would create otherwise

David Kalnischkies лет назад: 15
Родитель
Сommit
16b9e1e3b0
2 измененных файлов с 8 добавлено и 2 удалено
  1. 0 2
      cmdline/apt-get.cc
  2. 8 0
      debian/changelog

+ 0 - 2
cmdline/apt-get.cc

@@ -1077,8 +1077,6 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true,
    {
       // force a hashsum for compatibility reasons
       _config->CndSet("Acquire::ForceHash", "md5sum");
-      if (Fetcher.Setup(&Stat, "") == false)
-	 return false;
    }
    else if (Fetcher.Setup(&Stat, _config->FindDir("Dir::Cache::Archives")) == false)
       return false;

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+apt (0.8.11+wheezy) unstable; urgency=low
+
+  * cmdline/apt-get.cc:
+    - if --print-uris is used don't setup downloader as we don't need
+      progress, lock nor the directories it would create otherwise
+
+ -- David Kalnischkies <kalnischkies@gmail.com>  Tue, 30 Nov 2010 19:07:07 +0100
+
 apt (0.8.10) unstable; urgency=low
 
   [ Programs translations ]