diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 06:00:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 06:00:12 +0000 |
commit | 6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e (patch) | |
tree | 18ae530540192702ef07a1bcd4e8c56daef21320 | |
parent | 0fb9fa70c95038e62143f2a990a764f645582e33 (diff) | |
download | rpmdrake-6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e.tar rpmdrake-6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e.tar.gz rpmdrake-6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e.tar.bz2 rpmdrake-6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e.tar.xz rpmdrake-6a96d5a8d89c7a0d09a4f6f4919f230d31c9f91e.zip |
(refresh_packages_list) kill noop loop
-rwxr-xr-x | MandrivaUpdate | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 00bfd51a..bb96e62d 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -57,13 +57,6 @@ sub refresh_packages_list { # select packages to update: my @requested = sort @filtered_pkgs; - # don't select kernel*-latest by default and the kernels they require: - foreach my $name (@requested) { - my $selected = $pkgs->{$name}{selected}; - $pkgs->{$name}{selected} = to_bool($selected); - $pkgs->{$name}{pkg}->set_flag_required($selected); - } - @{$list->{data}} = map { [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>", translate(rpm_summary($pkgs->{$_}{pkg}->summary))) ]; } grep { $pkgs->{$_}{pkg} } @requested; |