From 406475c351c647dbf2c06b00c8ba94a78fb3aa0f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 31 Jan 2001 17:34:18 +0000 Subject: changed to clean selection for non expert as used for group selection because it is not cleaned, need better solution TODO. --- perl-install/install_steps.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 36b0626d9..608e90641 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -256,8 +256,9 @@ sub choosePackages { my $availableCorrected = pkgs::invCorrectSize($available / sqr(1024)) * sqr(1024); log::l(sprintf "available size %dMB (corrected %dMB)", $available / sqr(1024), $availableCorrected / sqr(1024)); - #- avoid destroying user selection of packages. TOCHECK - if ($first_time) { + #- avoid destroying user selection of packages but only + #- for expert, as they may have done individual selection before. + if ($first_time || !$::expert) { pkgs::unselectAllPackages($packages); pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || next) foreach @{$o->{default_packages}}; -- cgit v1.2.1