summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/install2.pm3
-rw-r--r--perl-install/install/steps_interactive.pm3
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 573491b88..6b928c8e1 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -192,9 +192,6 @@ sub choosePackages {
my ($auto) = @_;
require install::pkgs;
- require pkgs;
- add2hash_($o, { compssListLevel => $pkgs::rpmsrate_rate_default }) if !$::auto_install;
-
#- always setPackages as it may have to copy hdlist and synthesis files.
installStepsCall($o, $auto, 'setPackages');
installStepsCall($o, $auto, 'choosePackages');
diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm
index 918303329..7ab4b11e1 100644
--- a/perl-install/install/steps_interactive.pm
+++ b/perl-install/install/steps_interactive.pm
@@ -397,6 +397,9 @@ sub selectSupplMedia {
sub choosePackages {
my ($o) = @_;
+ require pkgs;
+ add2hash_($o, { compssListLevel => $pkgs::rpmsrate_rate_default });
+
my $w = $o->wait_message('', N("Looking for available packages..."));
my $availableC = install::steps::choosePackages($o, $pkgs::rpmsrate_rate_max);