Przeglądaj źródła

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

Michael Vogt 17 lat temu
rodzic
commit
089a4fd2d8
2 zmienionych plików z 10 dodań i 2 usunięć
  1. 2 2
      cmdline/acqprogress.cc
  2. 8 0
      debian/changelog

+ 2 - 2
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)];

+ 8 - 0
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: