summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-05 05:31:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-05 05:31:04 +0000
commitd805757a7876d78292f7e72ab696023e9584bfe6 (patch)
treeb79fedc19ce4ea48a3d1507fbfcbe33cb0596047
parent70aacc9f38d0a5f1ad11dd064804eb2894477968 (diff)
downloaddrakx-d805757a7876d78292f7e72ab696023e9584bfe6.tar
drakx-d805757a7876d78292f7e72ab696023e9584bfe6.tar.gz
drakx-d805757a7876d78292f7e72ab696023e9584bfe6.tar.bz2
drakx-d805757a7876d78292f7e72ab696023e9584bfe6.tar.xz
drakx-d805757a7876d78292f7e72ab696023e9584bfe6.zip
make it clearer by factorizing arch() call
-rw-r--r--perl-install/harddrake/sound.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 55a6c0a7d..b79f2cc0c 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -28,8 +28,10 @@ my $has_nvaudio = -x '/lib/modules/' . c::kernel_version() . '/';
our %alsa2oss =
(
if_(arch() =~ /ppc/, "snd-powermac" => [ "dmasound_pmac" ]),
- if_(arch() =~ /sparc/, "snd-sun-amd7930" => [ "unknown" ]),
- if_(arch() =~ /sparc/, "snd-sun-cs4231" => [ "unknown" ]),
+ if_(arch() =~ /sparc/,
+ "snd-sun-amd7930" => [ "unknown" ],
+ "snd-sun-cs4231" => [ "unknown" ],
+ ),
"snd-ad1816a" => [ "ad1816" ], # isa
"snd-ad1848" => [ "ad1848", "pss" ], # isa
"snd-ali5451" => [ "trident" ],