summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draksound
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-09-11 09:01:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-09-11 09:01:43 +0000
commit8cd320d720618b7b883d50d1d3cfd5c1662d61e6 (patch)
tree2bf1c74cdb9808fd96974a2e5623dd625ff7c444 /perl-install/standalone/draksound
parent063b6948cdb7fb4316c31510e6091b0aa8e45bb1 (diff)
downloaddrakx-backup-do-not-use-8cd320d720618b7b883d50d1d3cfd5c1662d61e6.tar
drakx-backup-do-not-use-8cd320d720618b7b883d50d1d3cfd5c1662d61e6.tar.gz
drakx-backup-do-not-use-8cd320d720618b7b883d50d1d3cfd5c1662d61e6.tar.bz2
drakx-backup-do-not-use-8cd320d720618b7b883d50d1d3cfd5c1662d61e6.tar.xz
drakx-backup-do-not-use-8cd320d720618b7b883d50d1d3cfd5c1662d61e6.zip
- fix: we displayed current driver as default one: display the right one
- show a wait message while switching driver
Diffstat (limited to 'perl-install/standalone/draksound')
-rwxr-xr-xperl-install/standalone/draksound3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/draksound b/perl-install/standalone/draksound
index a1c056d53..8af6154aa 100755
--- a/perl-install/standalone/draksound
+++ b/perl-install/standalone/draksound
@@ -39,7 +39,8 @@ if (@devices) {
# allocate sound-slot in the same order as install2.pm
# fill $device->{driver} with the right sound-slot-XX or default driver if missing sound-slot [real fix'll be in harddrake service]
my $driver = modules::get_alias("sound-slot-$::i");
- $_->{driver} = $driver if $driver;
+ $driver = modules::get_alias($driver) if $driver =~ /sound-card/; # alsaconf ...
+ $_->{current_driver} = $driver if $driver;
harddrake::sound::config($in, $_);
} modules::probe_category('multimedia/sound');
} else {