From d805757a7876d78292f7e72ab696023e9584bfe6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Aug 2004 05:31:04 +0000 Subject: make it clearer by factorizing arch() call --- perl-install/harddrake/sound.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'perl-install') 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" ], -- cgit v1.2.1