summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-07-16 14:57:37 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-07-16 14:57:37 +0200
commit4a53151acad0c4ccfbcf4ce11c5c2d7cffd05de3 (patch)
tree46ec7198560370e03f3218ab2aaabc4ad9e0fbe1 /cmdline/apt-get.cc
parent22eeef1809dae0594eca961783b1f809f4d539f7 (diff)
do not require unused partial dirs in 'source' (Closes: #633510)
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 3292ae745..748ebe6ab 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2366,8 +2366,7 @@ bool DoSource(CommandLine &CmdL)
// Create the download object
AcqTextStatus Stat(ScreenWidth,_config->FindI("quiet",0));
pkgAcquire Fetcher;
- if (Fetcher.Setup(&Stat) == false)
- return false;
+ Fetcher.SetLog(&Stat);
DscFile *Dsc = new DscFile[CmdL.FileSize()];