summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 61d4176e1..3868f3bba 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -354,6 +354,12 @@ sub setPackages {
}
}
+sub unselectMostPackages {
+ my ($o) = @_;
+ pkgs::unselectAllPackages($o->{packages});
+ pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || next) foreach @{$o->{default_packages}};
+}
+
sub addToBeDone(&$) {
my ($f, $step) = @_;