summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:36:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-27 16:36:02 +0000
commit0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e (patch)
tree82e545c2d74d7fe545401c1860956e28bb250317 /perl-install
parent1767b4a1709cbebff59e96144463e19927e71a3c (diff)
downloaddrakx-0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e.tar
drakx-0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e.tar.gz
drakx-0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e.tar.bz2
drakx-0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e.tar.xz
drakx-0be5c75d152c2f5f18b1a23efd0d4fa0c3ffe38e.zip
forward workaround for anthill bug #18 (do not overwrite sound aliases
when no hardware change)
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index f59c3c668..f8028b762 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -66,6 +66,11 @@ foreach (@harddrake::data::tree) {
} else {
@configurator_pool = $configurator;
}
+ # automatic sound slots configuration
+ if ($Ident eq "AUDIO") {
+ harddrake::sound::configure_sound_slots();
+ }
+
next unless -x first(split /\s+/, $configurator_pool[0]);
foreach my $configurator (@configurator_pool) {
my ($pid, $no);
@@ -94,7 +99,5 @@ foreach (@harddrake::data::tree) {
log::explanations("created file $last_boot_config");
Storable::store(\%config, $last_boot_config);
-# automatic sound slots configuration
-harddrake::sound::configure_sound_slots();
$in->exit(0) if $in;