diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:47:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-29 11:47:28 +0000 |
commit | a55d10bd9f560e41821931cf6031280d64283d32 (patch) | |
tree | f96a7e59f45ea10b0697fafbf6246e9a1a9d0bc2 | |
parent | 71a0dbce6f66d7290ea11d6cc0febd6f516437c3 (diff) | |
download | urpmi-a55d10bd9f560e41821931cf6031280d64283d32.tar urpmi-a55d10bd9f560e41821931cf6031280d64283d32.tar.gz urpmi-a55d10bd9f560e41821931cf6031280d64283d32.tar.bz2 urpmi-a55d10bd9f560e41821931cf6031280d64283d32.tar.xz urpmi-a55d10bd9f560e41821931cf6031280d64283d32.zip |
(ask_choice) simplify
-rwxr-xr-x | urpmi | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |