diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-22 09:54:45 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-22 09:54:45 +0000 |
commit | 487a9a9fb3b7c71aba0fc399afc590d8bb8c5105 (patch) | |
tree | 7cde5dc2ac0a2b9eaecb4227bd91ebae121b6db3 | |
parent | 1d34683bd9967baaf21bed862578cc05bc02b346 (diff) | |
download | drakx-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar drakx-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.gz drakx-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.bz2 drakx-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.tar.xz drakx-487a9a9fb3b7c71aba0fc399afc590d8bb8c5105.zip |
use modname2filename to find if a module is available
-rw-r--r-- | perl-install/modules.pm | 2 |
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); } #-############################################################################### |