summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-22 09:54:45 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-22 09:54:45 +0000
commit487a9a9fb3b7c71aba0fc399afc590d8bb8c5105 (patch)
tree7cde5dc2ac0a2b9eaecb4227bd91ebae121b6db3 /perl-install/modules.pm
parent1d34683bd9967baaf21bed862578cc05bc02b346 (diff)
downloaddrakx-backup-do-not-use-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar
drakx-backup-do-not-use-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.gz
drakx-backup-do-not-use-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.bz2
drakx-backup-do-not-use-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.xz
drakx-backup-do-not-use-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.zip
use modname2filename to find if a module is available
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 f86aab09a..53f5b6e13 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -52,7 +52,7 @@ sub cond_mapping_24_26 {
sub module_is_available {
my ($module) = @_;
- find { m!/\Q$module\E\.k?o! } cat_($::prefix . '/lib/modules/' . c::kernel_version() . '/modules.dep');
+ defined list_modules::modname2filename($module);
}
#-###############################################################################