diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-01 15:44:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-01 15:44:29 +0000 |
commit | d631ff21af34dfe4da843fb7153ddb1fbe7af7bc (patch) | |
tree | c7a6b53ff1674777e0fd5ce9a69af849e8129505 | |
parent | 51dbbf65632270ef47e232e5ef2619e353076486 (diff) | |
download | drakx-d631ff21af34dfe4da843fb7153ddb1fbe7af7bc.tar drakx-d631ff21af34dfe4da843fb7153ddb1fbe7af7bc.tar.gz drakx-d631ff21af34dfe4da843fb7153ddb1fbe7af7bc.tar.bz2 drakx-d631ff21af34dfe4da843fb7153ddb1fbe7af7bc.tar.xz drakx-d631ff21af34dfe4da843fb7153ddb1fbe7af7bc.zip |
propagate $in where needed
-rw-r--r-- | perl-install/harddrake/sound.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index eabccd62b..88e337dd9 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -141,7 +141,7 @@ sub get_alternative { } sub do_switch { - my ($old_driver, $new_driver, $index) = @_; + my ($in, $old_driver, $new_driver, $index) = @_; my $wait = $in->wait_message(N("Please wait"), N("Please Wait... Applying the configuration")); log::explanations("removing old $old_driver\n"); rooted("service sound stop") unless $blacklisted; @@ -215,7 +215,7 @@ To use alsa, one can either use: $in->ask_warn(N("Warning"), N("The old \"%s\" driver is blacklisted.\n It has been reported to oops the kernel on unloading.\n The new \"%s\" driver'll only be used on next bootstrap.", $driver, $new_driver)) if $blacklisted; - do_switch($driver, $new_driver, $device->{sound_slot_index}); + do_switch($in, $driver, $new_driver, $device->{sound_slot_index}); } } elsif ($driver =~ /^Bad:/) { $driver =~ s/^Bad://; @@ -280,7 +280,7 @@ The current driver for your \"%s\" sound card is \"%s\" ", $device->{description { label => N("Driver:"), val => \$driver, list => [ category2modules("multimedia/sound") ], type => 'combo', default => $driver, sort =>1, separator => '|' }, ] )) { - do_switch($old_driver, $driver, $device->{sound_slot_index}); + do_switch($in, $old_driver, $driver, $device->{sound_slot_index}); goto end; } } |