diff options
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rw-r--r-- | 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)); } } |