summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.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_interactive.pm
parentef912e15b25151ef79173ba7bb7f06c1e17b4138 (diff)
downloaddrakx-23f9db1e651a6e2777decbfa8638d32178846bb2.tar
drakx-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.gz
drakx-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.bz2
drakx-23f9db1e651a6e2777decbfa8638d32178846bb2.tar.xz
drakx-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_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index b28a0f247..22a1fb074 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -525,7 +525,7 @@ sub chooseGroups {
my ($o, $packages, $compssUsers, $min_level, $individual, $max_size) = @_;
my $b = pkgs::saveSelected($packages);
- pkgs::unselectAllPackages($packages);
+ install_any::unselectMostPackages($o);
pkgs::setSelectedFromCompssList($packages, {}, $min_level, $max_size);
my $system_size = pkgs::selectedSize($packages);
my ($sizes, $pkgs) = pkgs::computeGroupSize($packages, $min_level);
@@ -565,7 +565,7 @@ sub chooseGroups {
my $size = $system_size + $compute_size->(map { @{$compssUsers->{$_}{flags}} } grep { $val{$_} } @groups);
#- if a profile is deselected, deselect everything (easier than deselecting the profile packages)
- $old_size > $size and pkgs::unselectAllPackages($packages);
+ $old_size > $size and install_any::unselectMostPackages($o);
$old_size = $size;
$size_text = _("Selected size %d%s", pkgs::correctSize($size / sqr(1024)), _("MB"));
}; &$update_size;