* cmdline/apt-get.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 30 Nov 2010 18:08:19 +0000 (19:08 +0100)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 30 Nov 2010 18:08:19 +0000 (19:08 +0100)
  - if --print-uris is used don't setup downloader as we don't need
    progress, lock nor the directories it would create otherwise

cmdline/apt-get.cc
debian/changelog

index 8efcd0e..ca037c5 100644 (file)
@@ -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;
index 96a2bd1..b4a7c01 100644 (file)
@@ -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 ]