diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:26:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-21 14:26:42 +0000 |
commit | 96f5322819c0ca5d5405a89315af19bca0649f61 (patch) | |
tree | 22d106a4fd60766906c80388716d4804cef2d0e7 /Rpmdrake/pkg.pm | |
parent | aa40ddc296c709c7282b3be1c3ad0bb7d49105eb (diff) | |
download | rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.gz rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.bz2 rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.tar.xz rpmdrake-96f5322819c0ca5d5405a89315af19bca0649f61.zip |
(formatlistpkg) rename as format_list() (more consistent with other
function names)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index b95e7a68..70b04e14 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -598,13 +598,13 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( @{$urpm->{ask_remove}} = sort urpm::select::removed_packages($urpm, $urpm->{state}); my @to_remove = map { if_($pkgs->{$_}{selected} && !$pkgs->{$_}{pkg}->flag_upgrade, $pkgs->{$_}{urpm_name}) } keys %$pkgs; - my $r = formatlistpkg(map { scalar(urpm::select::translate_why_removed_one($urpm, $urpm->{state}, $_)) } @to_remove); + my $r = format_list(map { scalar(urpm::select::translate_why_removed_one($urpm, $urpm->{state}, $_)) } @to_remove); my $size = $urpm->selected_size($state); my $install_count = int(@pkgs); my $to_install = $install_count == 0 ? '' : (P("The following package is going to be installed:", "The following %d packages are going to be installed:", $install_count, $install_count) - . "\n\n" . formatlistpkg(map { s!.*/!!; $_ } @pkgs)); + . "\n\n" . format_list(map { s!.*/!!; $_ } @pkgs)); my $remove_count = scalar(@to_remove); interactive_msg(($to_install ? N("Confirmation") : N("Some packages need to be removed")), join("\n\n", |