diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-16 23:09:00 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-16 23:09:00 +0000 |
commit | 856e7d6ea668ba70d4bcea9876d991c634400747 (patch) | |
tree | ba789fc1049c90f28ebd94f2c96ce0d2841a6bc8 /perl-install/modules | |
parent | 06d8a567c68a54842c2bbf35fcbf677655c3ece3 (diff) | |
download | drakx-856e7d6ea668ba70d4bcea9876d991c634400747.tar drakx-856e7d6ea668ba70d4bcea9876d991c634400747.tar.gz drakx-856e7d6ea668ba70d4bcea9876d991c634400747.tar.bz2 drakx-856e7d6ea668ba70d4bcea9876d991c634400747.tar.xz drakx-856e7d6ea668ba70d4bcea9876d991c634400747.zip |
make modules::*::get_above return a list, and thus fix loading of tifm_sd module during install
Diffstat (limited to 'perl-install/modules')
-rw-r--r-- | perl-install/modules/modprobe_conf.pm | 2 | ||||
-rw-r--r-- | perl-install/modules/modules_conf.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules/modprobe_conf.pm b/perl-install/modules/modprobe_conf.pm index b2a57717d..76f3fbee0 100644 --- a/perl-install/modules/modprobe_conf.pm +++ b/perl-install/modules/modprobe_conf.pm @@ -21,7 +21,7 @@ sub get_above { my (undef, $after) = parse_non_virtual($module, $conf->{$module}{install}) or return; my ($l, $_other_cmds) = partition_modprobes($after); - join(' ', @$l); + @$l; } sub set_above { my ($conf, $module, $o_modules) = @_; diff --git a/perl-install/modules/modules_conf.pm b/perl-install/modules/modules_conf.pm index afcf08b35..2bfc2ce65 100644 --- a/perl-install/modules/modules_conf.pm +++ b/perl-install/modules/modules_conf.pm @@ -19,7 +19,7 @@ sub get_above { my ($conf, $module) = @_; $module = $conf->mapping($module); - $conf->{$module} && $conf->{$module}{above}; + $conf->{$module} && split(' ', $conf->{$module}{above}); } sub set_above { my ($conf, $module, $o_modules) = @_; |