summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index e5528c8ab..d718467fc 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -585,7 +585,7 @@ sub main {
modules::load_deps("/modules/modules.dep");
$o->{modules} = modules::get_stage1_conf($o->{modules}, "/tmp/conf.modules");
modules::read_already_loaded();
- modparm::read_modparm_file("/usr/share/modparm.lst");
+ modparm::read_modparm_file(($::testing ? "/tmp" : "/usr/share") . "/modparm.lst");
if ($o->{method} && $o->{method} eq "ftp") {
require 'ftp.pm';