From: David Kalnischkies Date: Sat, 16 Jul 2011 12:57:37 +0000 (+0200) Subject: do not require unused partial dirs in 'source' (Closes: #633510) X-Git-Tag: 0.8.15.3~1^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/4a53151acad0c4ccfbcf4ce11c5c2d7cffd05de3?ds=inline do not require unused partial dirs in 'source' (Closes: #633510) --- diff --git a/apt-pkg/acquire.h b/apt-pkg/acquire.h index e3a4435b8..9fe0e8a87 100644 --- a/apt-pkg/acquire.h +++ b/apt-pkg/acquire.h @@ -348,6 +348,8 @@ class pkgAcquire */ bool Setup(pkgAcquireStatus *Progress = NULL, string const &Lock = ""); + void SetLog(pkgAcquireStatus *Progress) { Log = Progress; } + /** \brief Construct a new pkgAcquire. */ pkgAcquire(pkgAcquireStatus *Log) __deprecated; pkgAcquire(); 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()]; diff --git a/debian/changelog b/debian/changelog index a51a90b90..a834bca91 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,7 @@ apt (0.8.15.3) UNRELEASED; urgency=low - document APT::Architectures list (Closes: #612102) * cmdline/apt-get.cc: - restore all important dependencies for garbage packages (LP: #806274) + - do not require unused partial dirs in 'source' (Closes: #633510) * apt-pkg/init.cc: - use CndSet in pkgInitConfig (Closes: #629617) * apt-pkg/depcache.cc: @@ -28,7 +29,7 @@ apt (0.8.15.3) UNRELEASED; urgency=low * doc/apt-cache.8.xml: - apply madison typofix from John Feuerstein, thanks! (Closes: #633455) - -- David Kalnischkies Sat, 16 Jul 2011 14:28:53 +0200 + -- David Kalnischkies Sat, 16 Jul 2011 14:55:03 +0200 apt (0.8.15.2) unstable; urgency=high