summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-21 18:08:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-21 18:08:24 +0000
commit3b3ab1b644c619846971a5c56d5aa7d56a251275 (patch)
treec30734cadcf0423aac73cb7d40b4bdcf52182d0f /perl-install
parent0ca33a5bc05e0748ef07f488f721091afddf5631 (diff)
downloaddrakx-3b3ab1b644c619846971a5c56d5aa7d56a251275.tar
drakx-3b3ab1b644c619846971a5c56d5aa7d56a251275.tar.gz
drakx-3b3ab1b644c619846971a5c56d5aa7d56a251275.tar.bz2
drakx-3b3ab1b644c619846971a5c56d5aa7d56a251275.tar.xz
drakx-3b3ab1b644c619846971a5c56d5aa7d56a251275.zip
(when_load): move the alias sound to when_load, don't check ppc as it
could be used for non-ppc
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 3d753830c..940dd45b0 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -428,6 +428,10 @@ sub when_load {
if ($type =~ /\bscsi\b/ || $type eq $type_aliases{scsi}) {
add_alias('scsi_hostadapter', $name), eval { load('sd_mod') };
}
+ if ($type eq 'sound') {
+ #- mainly for ppc
+ add_alias('sound-slot-0', $name);
+ }
if ($name =~ /^snd-card-/) {
load('snd-pcm-oss', 'prereq');
}
@@ -455,11 +459,6 @@ sub load {
if ($type eq 'net') {
add_alias($_, $name) foreach difference2([ detect_devices::getNet() ], \@netdev);
}
-
- if ($type eq 'sound' && arch() =~ /ppc/) {
- add_alias($type, $name);
- }
-
when_load($name, $type, @options);
}
sub load_multi {