summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-25 15:05:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-25 15:05:23 +0000
commit2c428a99b55ab1105bd696c51fda95365806c42d (patch)
tree5a692d210407a1d52fb6b39d4cdd7282d09fd210
parentdcbb51721609f47686a816f9a332c48dff778b9b (diff)
downloaddrakx-backup-do-not-use-2c428a99b55ab1105bd696c51fda95365806c42d.tar
drakx-backup-do-not-use-2c428a99b55ab1105bd696c51fda95365806c42d.tar.gz
drakx-backup-do-not-use-2c428a99b55ab1105bd696c51fda95365806c42d.tar.bz2
drakx-backup-do-not-use-2c428a99b55ab1105bd696c51fda95365806c42d.tar.xz
drakx-backup-do-not-use-2c428a99b55ab1105bd696c51fda95365806c42d.zip
do not die if sound never was configured (aka on first boot on live CD)
-rwxr-xr-xperl-install/standalone/service_harddrake2
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") {