diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-11-25 15:05:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-11-25 15:05:23 +0000 |
commit | 2c428a99b55ab1105bd696c51fda95365806c42d (patch) | |
tree | 5a692d210407a1d52fb6b39d4cdd7282d09fd210 /perl-install | |
parent | dcbb51721609f47686a816f9a332c48dff778b9b (diff) | |
download | drakx-2c428a99b55ab1105bd696c51fda95365806c42d.tar drakx-2c428a99b55ab1105bd696c51fda95365806c42d.tar.gz drakx-2c428a99b55ab1105bd696c51fda95365806c42d.tar.bz2 drakx-2c428a99b55ab1105bd696c51fda95365806c42d.tar.xz drakx-2c428a99b55ab1105bd696c51fda95365806c42d.zip |
do not die if sound never was configured (aka on first boot on live CD)
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 01b6668a4..070b6dc29 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -128,7 +128,7 @@ foreach my $hw_class (@harddrake::data::tree) { } if ($Ident eq "AUDIO") { # automatic sound slots configuration - rm_rf("/etc/asound.state"); + rm_rf("/etc/asound.state") if -e "/etc/asound.state"; harddrake::sound::configure_sound_slots($modules_conf); next; } elsif ($Ident eq "ETHERNET") { |