summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi3
1 files changed, 1 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index e5590725..421cc72d 100755
--- a/urpmi
+++ b/urpmi
@@ -431,8 +431,7 @@ sub ask_choice {
my ($urpm, $_db, $_state, $choices) = @_;
my $n = 1; #- default value.
my (@l) = map {
- (scalar $_->fullname)
- . ($_->summary ? ': ' . $_->summary : '')
+ join(': ', scalar($_->fullname), ($_->summary || ()))
. ($_->flag_installed ? ' (to upgrade)' : '')
. ($_->flag_upgrade ? ' (to install)' : '');
} @$choices;