diff options
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 58d11f18..fe9ecabc 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -127,6 +127,11 @@ gtknew('ScrolledWindow', width => $typical_width*0.9, callback_choices => \&callback_choices, ); + # don't select kernel*-latest by default: + foreach my $name (sort(map { urpm_name($_) } @requested)) { + $pkgs->{$name}{selected} = to_bool($name !~ /^kernel.*-latest/); + }; + @{$list->{data}} = map { [ $pkgs->{$_}{selected}, join("\n", "<b>$_</b>", translate(rpm_summary($pkgs->{$_}{pkg}->summary))) ] } sort map { urpm_name($_) } @requested; |