summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-11 09:04:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-11 09:04:32 +0000
commit6edc5cab4f79941ad3b583631bb35be478281906 (patch)
tree9cd5c862afc92ed8f6b658a11ddfee9eb1563175 /urpme
parent9a34ae4f57612b13681b7dce6a730780f7521a3e (diff)
downloadurpmi-6edc5cab4f79941ad3b583631bb35be478281906.tar
urpmi-6edc5cab4f79941ad3b583631bb35be478281906.tar.gz
urpmi-6edc5cab4f79941ad3b583631bb35be478281906.tar.bz2
urpmi-6edc5cab4f79941ad3b583631bb35be478281906.tar.xz
urpmi-6edc5cab4f79941ad3b583631bb35be478281906.zip
o sort the list of orphans
Diffstat (limited to 'urpme')
-rw-r--r--urpme2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpme b/urpme
index 2550e889..46a3ec16 100644
--- a/urpme
+++ b/urpme
@@ -151,7 +151,7 @@ my $msg =
. sprintf(" (%s)", formatXiB(-$urpm->selected_size($state))) . ":\n"
. add_leading_spaces(urpm::select::translate_why_removed($urpm, $state, @toremove_no_orphans)) . "\n"
. (@orphans ? P("(orphan package)", "(orphan packages)", scalar(@orphans)) . "\n" .
- add_leading_spaces(join("\n", @orphans) . "\n") : ());
+ add_leading_spaces(join("\n", sort @orphans) . "\n") : ());
if ($urpm->{options}{auto}) {
$test and print STDOUT $msg;