Parcourir la source

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

Michael Vogt il y a 17 ans
Parent
commit
8a9e5ffdb6
2 fichiers modifiés avec 8 ajouts et 2 suppressions
  1. 2 2
      cmdline/acqprogress.cc
  2. 6 0
      debian/changelog

+ 2 - 2
cmdline/acqprogress.cc

@@ -145,11 +145,11 @@ void AcqTextStatus::Stop()
    bandwidth and ETA indicator. */
    bandwidth and ETA indicator. */
 bool AcqTextStatus::Pulse(pkgAcquire *Owner)
 bool AcqTextStatus::Pulse(pkgAcquire *Owner)
 {
 {
+   pkgAcquireStatus::Pulse(Owner);
+   
    if (Quiet > 0)
    if (Quiet > 0)
       return true;
       return true;
    
    
-   pkgAcquireStatus::Pulse(Owner);
-   
    enum {Long = 0,Medium,Short} Mode = Long;
    enum {Long = 0,Medium,Short} Mode = Long;
    
    
    char Buffer[sizeof(BlankLine)];
    char Buffer[sizeof(BlankLine)];

+ 6 - 0
debian/changelog

@@ -52,6 +52,12 @@ apt (0.7.21) UNRELEASED; urgency=low
   * Apply --important option to apt-cache depends (LP: #16947) 
   * Apply --important option to apt-cache depends (LP: #16947) 
   * Clarify the --help for 'purge' (LP: #243948)
   * Clarify the --help for 'purge' (LP: #243948)
 
 
+
+  [ Colin Watson ]
+  * cmdline/acqprogress.cc:
+    - Call pkgAcquireStatus::Pulse even if quiet, so that we still get
+      dlstatus messages on the status-fd (LP: #290234).
+
  -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 12 Sep 2008 11:34:24 +0200
  -- Michael Vogt <michael.vogt@ubuntu.com>  Fri, 12 Sep 2008 11:34:24 +0200
 
 
 apt (0.7.20) unstable; urgency=low
 apt (0.7.20) unstable; urgency=low