From bc454df43584bf596b467a6d55e59f65cf3063a4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 27 Aug 2004 06:56:15 +0000 Subject: read modules configuration file from stage1 as modules_conf file, but get an object of the proper type by using modules::any_conf::vnew --- perl-install/install2.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 57ef9fe3c..363ec01b7 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -457,8 +457,9 @@ sub main { eval { spawnShell() }; modules::load_dependencies(($::testing ? ".." : "") . "/modules/modules.dep"); + require modules::any_conf; require modules::modules_conf; - $o->{modules_conf} = modules::modules_conf->read('/tmp/modules.conf'); + $o->{modules_conf} = modules::modules_conf::read(modules::any_conf::vnew(), '/tmp/modules.conf'); modules::read_already_loaded($o->{modules_conf}); #- done before auto_install is called to allow the -IP feature on auto_install file name -- cgit v1.2.1