summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-07 07:21:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-07 07:21:04 +0000
commit3dacb4c999fe9423d8b2300186139374868f042e (patch)
tree34e5ee56db432bbdfd5f884b89862b4000b3bb44 /perl-install/modules.pm
parent89e2c0f66b7aac23562cac0c22a3b71f388fe568 (diff)
downloaddrakx-backup-do-not-use-3dacb4c999fe9423d8b2300186139374868f042e.tar
drakx-backup-do-not-use-3dacb4c999fe9423d8b2300186139374868f042e.tar.gz
drakx-backup-do-not-use-3dacb4c999fe9423d8b2300186139374868f042e.tar.bz2
drakx-backup-do-not-use-3dacb4c999fe9423d8b2300186139374868f042e.tar.xz
drakx-backup-do-not-use-3dacb4c999fe9423d8b2300186139374868f042e.zip
modules::mergein_conf() doesn't need to be given /etc/modules.conf
=> prepare for reading either modprobe.conf or modules.conf based on the running kernel version
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index d7216cfd1..fccd3b24e 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -281,7 +281,7 @@ sub mergein_conf_raw {
push @{$conf{$key}{probeall} ||= []}, deref($value->{probeall});
}
}
-sub mergein_conf {
+sub mergein_conf() {
my $file = "$::prefix/etc/modules.conf";
mergein_conf_raw($file) if -r $file;
}