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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install/commands.pm') 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) { -- cgit v1.2.1