summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-10 09:13:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-10 09:13:39 +0000
commit5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f (patch)
tree115241ff7c90ee31dc8c73da39069c597243dac9 /urpme
parent7ba1f0eeaab2f07bf5656ce98fc859e6e9915614 (diff)
downloadurpmi-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--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index 09306898..94a05d2f 100644
--- a/urpme
+++ b/urpme
@@ -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");