do not require unused partial dirs in 'source' (Closes: #633510)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 16 Jul 2011 12:57:37 +0000 (14:57 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Sat, 16 Jul 2011 12:57:37 +0000 (14:57 +0200)
apt-pkg/acquire.h
cmdline/apt-get.cc
debian/changelog

index e3a4435..9fe0e8a 100644 (file)
@@ -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();
index 3292ae7..748ebe6 100644 (file)
@@ -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()];
    
index a51a90b..a834bca 100644 (file)
@@ -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 <kalnischkies@gmail.com>  Sat, 16 Jul 2011 14:28:53 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com>  Sat, 16 Jul 2011 14:55:03 +0200
 
 apt (0.8.15.2) unstable; urgency=high