diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-11 09:01:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-09-11 09:01:43 +0000 |
commit | 8cd320d720618b7b883d50d1d3cfd5c1662d61e6 (patch) | |
tree | 2bf1c74cdb9808fd96974a2e5623dd625ff7c444 /perl-install/standalone/draksound | |
parent | 063b6948cdb7fb4316c31510e6091b0aa8e45bb1 (diff) | |
download | drakx-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-x | perl-install/standalone/draksound | 3 |
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 { |