summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-20 17:02:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-20 17:02:57 +0000
commit23f9db1e651a6e2777decbfa8638d32178846bb2 (patch)
tree1770ccebabf473227c5ae6362fe6b5c270b514ce /perl-install/install_steps.pm
parentef912e15b25151ef79173ba7bb7f06c1e17b4138 (diff)
downloaddrakx-backup-do-not-use-23f9db1e651a6e2777decbfa8638d32178846bb2.tar
drakx-backup-do-not-use-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.gz
drakx-backup-do-not-use-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.bz2
drakx-backup-do-not-use-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.xz
drakx-backup-do-not-use-23f9db1e651a6e2777decbfa8638d32178846bb2.zip
- create install_any::unselectMostPackages
- use it instead of pkgs::unselectAllPackages (otherwise default_packages ends up non-selected)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ec8aa819b..1541ac61c 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -267,8 +267,7 @@ sub choosePackages {
#- 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}};
+ install_any::unselectMostPackages($o);
unless ($::expert) {
add2hash_($o, { compssListLevel => 5 }) unless $::auto_install;