From f4ba8846f9b04b9de83a91062c30d39b9f5b7e78 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 13 Sep 2007 19:32:33 +0000 Subject: fix loading of tifm_sd module (#18237) --- perl-install/NEWS | 2 ++ perl-install/modules.pm | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index e3b025fa5..5a3572b3a 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,5 @@ +- fix loading of tifm_sd module (#18237) + Version 10.4.193 - 13 September 2007, by Thierry Vignaud - drakbug: diff --git a/perl-install/modules.pm b/perl-install/modules.pm index ab4ad22ef..141b509e5 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -285,8 +285,8 @@ sub when_load_category { $sound_alias ||= 'sound-slot-0'; $conf->set_sound_slot($sound_alias, $name); } elsif ($category =~ m!disk/card_reader!) { - $conf->set_above($name, 'tifm_sd') if $name =~ /tifm_7xx1/; - $conf->set_above($name, 'mmc_block'); + my @modules = ('mmc_block', if_($name =~ /tifm_7xx1/, 'tifm_sd')); + $conf->set_above($name, join(' ', @modules)); } } -- cgit v1.2.1