diff options
author | Colin Watson <cjwatson@canonical.com> | 2009-03-26 23:52:26 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@canonical.com> | 2009-03-26 23:52:26 +0000 |
commit | 6b802e56f55a43e9967cd8d41148646fd95ea8e3 (patch) | |
tree | d8ff4f127e43bb81b00264cd8ad7a5985308c7fd | |
parent | 1e2acb1a23c8f3c3a78e36462bc469e6d9a039a7 (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: |