diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-10 09:13:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-10 09:13:39 +0000 |
commit | 5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f (patch) | |
tree | 115241ff7c90ee31dc8c73da39069c597243dac9 /urpme | |
parent | 7ba1f0eeaab2f07bf5656ce98fc859e6e9915614 (diff) | |
download | urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.gz urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.bz2 urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.xz urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.zip |
- adapt ->translate_why_removed to do what each callers do: sort its args and return a single string
- create translate_why_removed_one to make function smaller
Diffstat (limited to 'urpme')
-rw-r--r-- | urpme | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ my @toremove = $urpm->find_packages_to_remove( root => $root, ) or $urpm->{fatal}(0, N("Nothing to remove")); -my $list = join "\n", $urpm->translate_why_removed($state, sort @toremove); +my $list = $urpm->translate_why_removed($state, @toremove); if ($test && $auto) { #- Warning : the following message is parsed in urpm::parallel_* my $msg = N("Checking to remove the following packages"); |