diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-01 11:31:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-01 11:31:55 +0000 |
commit | 90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6 (patch) | |
tree | 10896f47e0bdb2771a1cec6b51e6ab942a3cbe72 /MandrivaUpdate | |
parent | 1d75031183a8a981c2980acddfe6682b962c8a92 (diff) | |
download | rpmdrake-90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6.tar rpmdrake-90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6.tar.gz rpmdrake-90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6.tar.bz2 rpmdrake-90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6.tar.xz rpmdrake-90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6.zip |
don't preselect kernel packages required by kernel*-latest too
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index a3bbd069..63e5c2a9 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -124,10 +124,10 @@ gtknew('ScrolledWindow', width => $typical_width*0.9, # select packages to update: my @requested = sort keys %$pkgs; - # don't select kernel*-latest by default: + # don't select kernel*-latest by default and the kernels they require: foreach my $name (@requested) { - $pkgs->{$name}{selected} = to_bool($name !~ /^kernel.*-latest/); - $pkgs->{$name}{pkg}->set_flag_required($name !~ /^kernel.*-latest/); + $pkgs->{$name}{selected} = to_bool($name !~ /^kernel/); + $pkgs->{$name}{pkg}->set_flag_required($name !~ /^kernel/); }; @{$list->{data}} = map { |