From 487a9a9fb3b7c71aba0fc399afc590d8bb8c5105 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 22 Sep 2007 09:54:45 +0000 Subject: use modname2filename to find if a module is available --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } #-############################################################################### -- cgit v1.2.1