aboutsummaryrefslogtreecommitdiffstats
path: root/MandrivaUpdate
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-01 11:31:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-01 11:31:55 +0000
commit90fe63b5e2a0f9e48ee97894c18ac10f0df4afe6 (patch)
tree10896f47e0bdb2771a1cec6b51e6ab942a3cbe72 /MandrivaUpdate
parent1d75031183a8a981c2980acddfe6682b962c8a92 (diff)
downloadrpmdrake-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-xMandrivaUpdate6
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 {