summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-19 18:18:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-19 18:18:07 +0000
commit37d81ac05a04dbf679d4afedef6f01dc685dbec5 (patch)
tree5fdf3c0563d2c08b6695cc1ddea6f93dd3fd913e /perl-install/modules.pm
parent325658297f91aef3c9b8666ddac31d2ece6400a8 (diff)
downloaddrakx-37d81ac05a04dbf679d4afedef6f01dc685dbec5.tar
drakx-37d81ac05a04dbf679d4afedef6f01dc685dbec5.tar.gz
drakx-37d81ac05a04dbf679d4afedef6f01dc685dbec5.tar.bz2
drakx-37d81ac05a04dbf679d4afedef6f01dc685dbec5.tar.xz
drakx-37d81ac05a04dbf679d4afedef6f01dc685dbec5.zip
when loading /snd-card-/ module, load snd-pcm-oss
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index e41a29bd1..e29e5d841 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -418,6 +418,9 @@ sub when_load {
if ($type =~ /\bscsi\b/ || $type eq $type_aliases{scsi}) {
add_alias('scsi_hostadapter', $name), eval { load('sd_mod') };
}
+ if ($name =~ /^snd-card-/) {
+ load('snd-pcm-oss', 'prereq');
+ }
$conf{$name}{options} = join " ", @options if @options;
}