From 51520013f354af4aec254206eb3d74f327bf5101 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 11 Feb 2008 22:57:22 +0000 Subject: use list_modules::load_default_moddeps instead of loading hardcoded /modules/modules.dep --- perl-install/install/commands.pm | 4 ++-- perl-install/install/install2.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install/commands.pm b/perl-install/install/commands.pm index 982667d20..4f19a1a2d 100644 --- a/perl-install/install/commands.pm +++ b/perl-install/install/commands.pm @@ -295,7 +295,7 @@ sub modprobe { $h || @_ == 0 and die "usage: modprobe [options]\n"; my $name = shift; require modules; - modules::load_dependencies("/modules/modules.dep"); + list_modules::load_default_moddeps(); modules::load_with_options([ $name ], { $name => join(' ', @_) }); } @@ -401,7 +401,7 @@ sub bug { require any; require modules; - modules::load_dependencies("/modules/modules.dep"); + list_modules::load_default_moddeps(); my $part; if ($o_part_device) { diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 871dadfbb..269dd5b7e 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -420,7 +420,7 @@ sub main { eval { install::any::spawnShell() }; - modules::load_dependencies("/modules/modules.dep"); + list_modules::load_default_moddeps(); require modules::any_conf; require modules::modules_conf; $o->{modules_conf} = modules::modules_conf::read(modules::any_conf::vnew(), '/tmp/modules.conf'); -- cgit v1.2.1