diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 02:19:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-23 02:19:43 +0000 |
commit | ddb1699c4330ab400a04da3de6a2d884ccf2cb0a (patch) | |
tree | d3c6c3ce65c7dacb1dc955da5c6d204c16591bf5 /MandrivaUpdate | |
parent | 7ef45952b73cff6101c0e8f68d64e149cff1bc9f (diff) | |
download | rpmdrake-ddb1699c4330ab400a04da3de6a2d884ccf2cb0a.tar rpmdrake-ddb1699c4330ab400a04da3de6a2d884ccf2cb0a.tar.gz rpmdrake-ddb1699c4330ab400a04da3de6a2d884ccf2cb0a.tar.bz2 rpmdrake-ddb1699c4330ab400a04da3de6a2d884ccf2cb0a.tar.xz rpmdrake-ddb1699c4330ab400a04da3de6a2d884ccf2cb0a.zip |
(refresh_packages_list) kernel*-latest are now handled at urpmi level
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index c6aeece3..00bfd51a 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -59,7 +59,7 @@ sub refresh_packages_list { # don't select kernel*-latest by default and the kernels they require: foreach my $name (@requested) { - my $selected = $automatically_update_kernels->[0] ? 1 : $name !~ /^kernel/; + my $selected = $pkgs->{$name}{selected}; $pkgs->{$name}{selected} = to_bool($selected); $pkgs->{$name}{pkg}->set_flag_required($selected); } |