summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-11-30 19:08:19 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-11-30 19:08:19 +0100
commit16b9e1e3b03ea352a4d9eb5b13db4724fcedbbe7 (patch)
tree00d3d0036eda92ae9ff28850e057565c5052b2eb /cmdline/apt-get.cc
parent2f6557b96c08c1adebf3b1e292ae636a27f624d0 (diff)
* 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
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 8efcd0e2e..ca037c5c7 100644
--- a/cmdline/apt-get.cc
+++ b/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;