diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2002-10-17 17:32:52 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2002-10-17 17:32:52 +0000 |
commit | 8680123d0514ddd79a4af09f25adc96971c91f3f (patch) | |
tree | 2b479f6277e7dc95fe9fb303fc923cbe9d08bc36 /perl-install/harddrake | |
parent | d575e6d1d3df9f34b6a78b311454eb0e2bb8e4b6 (diff) | |
download | drakx-backup-do-not-use-8680123d0514ddd79a4af09f25adc96971c91f3f.tar drakx-backup-do-not-use-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.gz drakx-backup-do-not-use-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.bz2 drakx-backup-do-not-use-8680123d0514ddd79a4af09f25adc96971c91f3f.tar.xz drakx-backup-do-not-use-8680123d0514ddd79a4af09f25adc96971c91f3f.zip |
titi almost sux (he helped me that's why I can't say titi sux :p)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/sound.pm | 6 |
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}; } |