diff options
author | Michael Vogt <mvo@debian.org> | 2014-06-18 08:32:59 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-06-18 08:32:59 +0200 |
commit | 9eaa24c169b547d6c6a4815bb19eabcbec243317 (patch) | |
tree | 8356aa93d071101ad0c2e6f3e3d937006a068e69 | |
parent | 6074bc9ba4ecdd08674a828bdb46323b5d8bf957 (diff) | |
parent | 24d05892fe96d52aaceef7af94d0e444e140067c (diff) |
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
-rw-r--r-- | apt-private/private-update.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-private/private-update.cc b/apt-private/private-update.cc index fa827dea4..a843d6f86 100644 --- a/apt-private/private-update.cc +++ b/apt-private/private-update.cc @@ -90,7 +90,10 @@ bool DoUpdate(CommandLine &CmdL) "%i package can be upgraded. Run 'apt list --upgradable' to see it.\n", "%i packages can be upgraded. Run 'apt list --upgradable' to see them.\n", upgradable); - ioprintf(c1out, msg, upgradable); + if (upgradable == 0) + c1out << _("All packages are up to date.") << std::endl; + else + ioprintf(c1out, msg, upgradable); } return true; |