summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-10-17 16:13:24 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-10-17 16:13:24 +0000
commite93b296e91bd2f58fe1dcc6d81589beaf90d9800 (patch)
treecadf353fedd06c5f47a492e7959d2f7b3f82f83a /perl-install/harddrake/sound.pm
parent9c5106acbc0e1863835d6de09c8816f7b4c6992f (diff)
downloaddrakx-e93b296e91bd2f58fe1dcc6d81589beaf90d9800.tar
drakx-e93b296e91bd2f58fe1dcc6d81589beaf90d9800.tar.gz
drakx-e93b296e91bd2f58fe1dcc6d81589beaf90d9800.tar.bz2
drakx-e93b296e91bd2f58fe1dcc6d81589beaf90d9800.tar.xz
drakx-e93b296e91bd2f58fe1dcc6d81589beaf90d9800.zip
do display the driver description (#5403)
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 4bbe45e93..a72887a38 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -257,7 +257,10 @@ To use alsa, one can either use:
{
label => N("Driver:"), val => \$new_driver, list => \@alternative, default => $new_driver, sort =>1,
help => join("\n\n", map { qq("$_": ) . $des{$_} } @alternative),
- allow_empty_list => 1, format => sub { my ($drv) = @_; ($drv =~ /^snd[-_]/) ? "$drv [ALSA]" : "$drv [OSS]" }
+ allow_empty_list => 1,
+ format => sub { my ($drv) = @_;
+ sprintf(($des{$drv} ? "$des{$drv} (%s)" : "%s"), ($drv =~ /^snd[-_]/) ? "$drv [ALSA]" : "$drv [OSS]");
+ }
},
{
val => N("Trouble shooting"), disabled => sub {},