diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-22 10:57:29 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-08-22 10:57:29 +0000 |
commit | 6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9 (patch) | |
tree | cfe73aa2da3c3a3455559bb755a60e7b982cc907 | |
parent | 4084849c2021c5a08aba2ce3341b5355e077b7fc (diff) | |
download | rpmdrake-6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9.tar rpmdrake-6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9.tar.gz rpmdrake-6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9.tar.bz2 rpmdrake-6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9.tar.xz rpmdrake-6c2acebae3c54d450b0a33eac25a1aeb1ddc35a9.zip |
sort packages in the logs
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -652,7 +652,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( @pkgs{ map { $_->id } grep { $_->flag_selected } @{$urpm->{depslist}} } = undef; my ($local_sources, $list, $local_to_removes) = $urpm->get_source_packages(\%pkgs); foreach my $l (@$list) { - standalone::explanations("Installing package $l->{$_}") foreach keys %$l; + standalone::explanations("Installing package $l->{$_}") foreach sort keys %$l; } if (!$local_sources && !$list) { fatal_msg(_("Unable to get source packages."), @@ -717,7 +717,7 @@ sub get_installed_pkgs { sub perform_removal { my ($urpm, $pkgs) = @_; my @toremove = grep { $pkgs->{$_}{selected} } keys %$pkgs; - standalone::explanations("Removing package $_") foreach @toremove; + standalone::explanations("Removing package $_") foreach sort @toremove; slow_func(_("Please wait, removing packages..."), sub { $urpm->install('/', \@toremove, {}, {}) }); } |