diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-12 12:17:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-12 12:17:53 +0000 |
commit | bcec1ffee9cba962ebf17be8094045a58bca4680 (patch) | |
tree | 30a5fb2b0282ecf40a59bc1c5cbe08f499f086dc /perl-install/standalone/harddrake2 | |
parent | e2eaf07bada9cae3c70dc70974a52fe1e102e825 (diff) | |
download | drakx-bcec1ffee9cba962ebf17be8094045a58bca4680.tar drakx-bcec1ffee9cba962ebf17be8094045a58bca4680.tar.gz drakx-bcec1ffee9cba962ebf17be8094045a58bca4680.tar.bz2 drakx-bcec1ffee9cba962ebf17be8094045a58bca4680.tar.xz drakx-bcec1ffee9cba962ebf17be8094045a58bca4680.zip |
simplify now that alternatives are an array and not an array ref
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 23a3049d4..797403e5e 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -425,8 +425,8 @@ foreach (@classes) { $configurator .= harddrake::data::set_removable_configurator($Ident, $_); if ($Ident eq "AUDIO") { require harddrake::sound; - my $alter = harddrake::sound::get_alternative($_->{driver}); - if (my $alternative_drivers = $alter->[0] ne 'unknown' && join(', ', @$alter)) { + my @alter = harddrake::sound::get_alternative($_->{driver}); + if (my $alternative_drivers = join(', ', @alter)) { $_->{alternative_drivers} = $alternative_drivers; } } |