summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-17 12:29:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-17 12:29:15 +0000
commit1d083a8aefa59e83c77f86cf68ff84256e1bcd57 (patch)
treec4a3a7d023da7ab5bc66ca3332b0038761d919de /perl-install/modules.pm
parent073f7047d61bd8f85485251c8013b65589cbf9e2 (diff)
downloaddrakx-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar
drakx-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.gz
drakx-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.bz2
drakx-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.tar.xz
drakx-1d083a8aefa59e83c77f86cf68ff84256e1bcd57.zip
- fix loading dependencies of kernel module "xxx-yyy" (instead of "xxx_yyy")
(eg: dm-mirror) hint: dependencies_closure("dm-mirror") doesn't work, whereas dependencies_closure("dm_mirror") do
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 3c67474b6..5789262ff 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -47,7 +47,7 @@ sub mapping_26_24 {
sub cond_mapping_24_26 {
my ($modname) = @_;
- $mappings_24_26{$modname} || $modname;
+ $mappings_24_26{$modname} || list_modules::filename2modname($modname);
}
sub module_is_available {