summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2002-10-17 17:32:52 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2002-10-17 17:32:52 +0000
commit8680123d0514ddd79a4af09f25adc96971c91f3f (patch)
tree2b479f6277e7dc95fe9fb303fc923cbe9d08bc36
parentd575e6d1d3df9f34b6a78b311454eb0e2bb8e4b6 (diff)
downloaddrakx-8680123d0514ddd79a4af09f25adc96971c91f3f.tar
drakx-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.gz
drakx-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.bz2
drakx-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.xz
drakx-8680123d0514ddd79a4af09f25adc96971c91f3f.zip
titi almost sux (he helped me that's why I can't say titi sux :p)
-rw-r--r--perl-install/harddrake/sound.pm6
1 files changed, 1 insertions, 5 deletions
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};
}