diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-03-27 13:58:14 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-03-27 13:58:14 +0100 |
commit | 089a4fd2d8ebdc3f8a3bf097d1a1e20d6256b91e (patch) | |
tree | 6f12b667c156355ac68d3a99698d1f67392960f5 | |
parent | 7df4fe4025b02b4420e7529a0489f506f7e9b55a (diff) | |
parent | 848f5c4e06b3a159b5605405aa21570257d11ece (diff) |
* cmdline/acqprogress.cc:
- Call pkgAcquireStatus::Pulse even if quiet, so that we still get
dlstatus messages on the status-fd (LP: #290234).
-rw-r--r-- | cmdline/acqprogress.cc | 4 | ||||
-rw-r--r-- | debian/changelog | 8 |
2 files changed, 10 insertions, 2 deletions
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: |