summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-19 15:47:06 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-19 15:47:06 +0000
commit28412d69799fbe42c9b229a82dfdf6e2a33bebfe (patch)
tree559028170e4048834555329d6e6c62115a31ebdf /perl-install/install_any.pm
parent82f9ccc126583c56bf033447a8955d7e0ccf9324 (diff)
downloaddrakx-28412d69799fbe42c9b229a82dfdf6e2a33bebfe.tar
drakx-28412d69799fbe42c9b229a82dfdf6e2a33bebfe.tar.gz
drakx-28412d69799fbe42c9b229a82dfdf6e2a33bebfe.tar.bz2
drakx-28412d69799fbe42c9b229a82dfdf6e2a33bebfe.tar.xz
drakx-28412d69799fbe42c9b229a82dfdf6e2a33bebfe.zip
select default_packages directly during setPackages.
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 270c26713..50bb10e62 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -321,6 +321,7 @@ sub setPackages {
#- preselect default_packages and compssUsersChoices.
setDefaultPackages($o);
+ pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || next) foreach @{$o->{default_packages}};
} else {
#- this has to be done to make sure necessary files for urpmi are
#- present.