diff options
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/harddrake2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2 index 2727b5fb4..c826509de 100755 --- a/perl-install/standalone/harddrake2 +++ b/perl-install/standalone/harddrake2 @@ -260,7 +260,8 @@ foreach (@harddrake::data::tree) { if ($Ident eq "AUDIO") { require harddrake::sound; my $alter = harddrake::sound::get_alternative($_->{driver}); - $_->{alternative_drivers} = join(':', @$alter) if $alter->[0] ne 'unknown'; + my $alternative_drivers = join(':', @$alter) if $alter->[0] ne 'unknown'; + $_->{alternative_drivers} = $alternative_drivers if $alternative_drivers; } rename_field($_, 'usb_description', 'description'); rename_field($_, 'vendor_name', 'Vendor'); |