summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/modules.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 8252057ce..09dc9fcc4 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -39,7 +39,7 @@ sub load {
dependencies_closure($name);
} @_;
- @l = difference2([ uniq(@l) ], [ loaded_modules() ]) or return;
+ @l = difference2([ uniq(@l) ], [ map { my $s = $_; $s =~ s/_/-/g; $s, $_ } loaded_modules() ]) or return;
my $network_module = do {
my ($network_modules, $other) = partition { module2category($_) =~ m,network/(main|gigabit|usb), } @l;
@@ -129,10 +129,6 @@ sub probe_category {
} detect_devices::probeall();
}
-sub load_ide() {
- eval { load("ide-cd") }
-}
-
#-###############################################################################
#- modules.conf functions