From: Colin Watson <cjwatson@canonical.com>
Date: Thu, 26 Mar 2009 23:52:26 +0000 (+0000)
Subject: * cmdline/acqprogress.cc:
X-Git-Tag: 0.7.24ubuntu1~27^2~1
X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/6b802e56f55a43e9967cd8d41148646fd95ea8e3

* cmdline/acqprogress.cc:
  - Call pkgAcquireStatus::Pulse even if quiet, so that we still get
    dlstatus messages on the status-fd (LP: #290234).
---

diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index a5fee1db5..b3ded4142 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -145,11 +145,11 @@ void AcqTextStatus::Stop()
    bandwidth and ETA indicator. */
 bool AcqTextStatus::Pulse(pkgAcquire *Owner)
 {
+   pkgAcquireStatus::Pulse(Owner);
+   
    if (Quiet > 0)
       return true;
    
-   pkgAcquireStatus::Pulse(Owner);
-   
    enum {Long = 0,Medium,Short} Mode = Long;
    
    char Buffer[sizeof(BlankLine)];
diff --git a/debian/changelog b/debian/changelog
index d1f885795..bce1fa462 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+apt (0.7.20.2ubuntu5) UNRELEASED; urgency=low
+
+  * cmdline/acqprogress.cc:
+    - Call pkgAcquireStatus::Pulse even if quiet, so that we still get
+      dlstatus messages on the status-fd (LP: #290234).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 26 Mar 2009 23:50:56 +0000
+
 apt (0.7.20.2ubuntu4) jaunty; urgency=low
 
   * ftparchive/cachedb.cc: