diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-05 11:55:08 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-05 11:55:08 +0200 |
commit | 7cf45682e5fcac541e495242bdc4885bbb8b2ef7 (patch) | |
tree | 2d4a6656496f68390d5e084f8c8d7fb42c19711d | |
parent | 5ca0cf51194422fb0f094bbf5e61e9f5eb57f013 (diff) |
re-add "Calculating upgrade..." message
-rw-r--r-- | apt-private/private-upgrade.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-private/private-upgrade.cc b/apt-private/private-upgrade.cc index 00608866f..df8fe8686 100644 --- a/apt-private/private-upgrade.cc +++ b/apt-private/private-upgrade.cc @@ -14,19 +14,18 @@ static bool UpgradeHelper(CommandLine &CmdL, int UpgradeFlags) if (Cache.OpenForInstall() == false || Cache.CheckDeps() == false) return false; - //c0out << _("Calculating upgrade... ") << std::flush; + c0out << _("Calculating upgrade... ") << std::flush; if (APT::Upgrade::Upgrade(Cache, UpgradeFlags) == false) { c0out << _("Failed") << std::endl; ShowBroken(c1out,Cache,false); return _error->Error(_("Internal error, Upgrade broke stuff")); } + c0out << _("Done") << std::endl; // parse additional cmdline pkg manipulation switches if(!DoCacheManipulationFromCommandLine(CmdL, Cache)) return false; - - //c0out << _("Done") << std::endl; return InstallPackages(Cache,true); } |