aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Danny van Dyk <dvandyk@exherbo.org> 2007-01-04 00:08:24 +0000
committerAvatar Danny van Dyk <dvandyk@exherbo.org> 2007-01-04 00:08:24 +0000
commit8c8a26a0e7a1df047cd8a6515a98e72fe4a95a3b (patch)
tree2f59006297f9c6d7e551c5462d81576f1ad96e05
parent0b5899b2e076bbfa0cbf7103dafd2501ed97c012 (diff)
downloadpaludis-8c8a26a0e7a1df047cd8a6515a98e72fe4a95a3b.tar.gz
paludis-8c8a26a0e7a1df047cd8a6515a98e72fe4a95a3b.tar.xz
Fix version info output on slot updates.
-rw-r--r--src/output/console_install_task.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/console_install_task.cc b/src/output/console_install_task.cc
index 772df85..1171599 100644
--- a/src/output/console_install_task.cc
+++ b/src/output/console_install_task.cc
@@ -638,14 +638,14 @@ ConsoleInstallTask::display_merge_list_entry_status_and_update_counts(const DepL
else if (existing_slot->last()->version < d.package.version)
{
output_no_endl(render_as_update_mode(" [U " +
- stringify(existing->last()->version) + "]"));
+ stringify(existing_slot->last()->version) + "]"));
set_count<upgrade_count>(count<upgrade_count>() + 1);
set_count<max_count>(count<max_count>() + 1);
}
else if (existing_slot->last()->version > d.package.version)
{
output_no_endl(render_as_update_mode(" [D " +
- stringify(existing->last()->version) + "]"));
+ stringify(existing_slot->last()->version) + "]"));
set_count<downgrade_count>(count<downgrade_count>() + 1);
set_count<max_count>(count<max_count>() + 1);
}