diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-11 22:48:22 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-11 22:48:22 +0200 |
commit | 6c5ae8ed079e01082f606614641b19b7c08893ad (patch) | |
tree | 30d168e66eed72236853fe8ce99e4d7bcae2bcb0 /apt-pkg/deb/dpkgpm.cc | |
parent | db78c60c6a726ed70fa8b0984090b80840444016 (diff) |
move common code into PackageManager::StatusChanged()
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index cd4f5c31e..35adb91f6 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -58,9 +58,10 @@ public: last_reported_progress(0.0) { dpkgbuf[0] = '\0'; - if(_config->FindB("DpkgPM::Progress-Fancy", false) == true) + if(_config->FindB("Dpkg::Progress-Fancy", false) == true) progress = new APT::Progress::PackageManagerFancy(); - else if (_config->FindB("DpkgPM::Progress", false) == true) + else if (_config->FindB("Dpkg::Progress", + _config->FindB("DpkgPM::Progress", false)) == true) progress = new APT::Progress::PackageManagerText(); else progress = new APT::Progress::PackageManager(); |