From 8680123d0514ddd79a4af09f25adc96971c91f3f Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Thu, 17 Oct 2002 17:32:52 +0000 Subject: titi almost sux (he helped me that's why I can't say titi sux :p) --- perl-install/harddrake/sound.pm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'perl-install') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index bcff4dae9..325f5e07b 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -129,11 +129,7 @@ sub load { modules::load(@_) if $::isStandalone || $blacklisted } sub get_alternative { my ($driver) = @_; - if ($alsa2oss{$driver}) { - $alsa2oss{$driver}; - } elsif ($oss2alsa{$driver}) { - $oss2alsa{$driver} - } else { undef } + $alsa2oss{$driver} || $oss2alsa{$driver}; } -- cgit v1.2.1