aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-23 02:19:43 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-23 02:19:43 +0000
commitddb1699c4330ab400a04da3de6a2d884ccf2cb0a (patch)
treed3c6c3ce65c7dacb1dc955da5c6d204c16591bf5
parent7ef45952b73cff6101c0e8f68d64e149cff1bc9f (diff)
downloadrpmdrake-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
-rwxr-xr-xMandrivaUpdate2
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);
}