summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-11-29 11:24:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-11-29 11:24:28 +0000
commit43701cb8a59277efef20d7f33a65107714cdfb5c (patch)
treea6db53ebd738979b5da33044f1bb21e646c65e80 /perl-install/harddrake
parent18a4f1eb99e5644805fd617e0db6072ddca9b722 (diff)
downloaddrakx-backup-do-not-use-43701cb8a59277efef20d7f33a65107714cdfb5c.tar
drakx-backup-do-not-use-43701cb8a59277efef20d7f33a65107714cdfb5c.tar.gz
drakx-backup-do-not-use-43701cb8a59277efef20d7f33a65107714cdfb5c.tar.bz2
drakx-backup-do-not-use-43701cb8a59277efef20d7f33a65107714cdfb5c.tar.xz
drakx-backup-do-not-use-43701cb8a59277efef20d7f33a65107714cdfb5c.zip
(do_switch) automatically install packages
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index fa140b193..03dce73aa 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -200,7 +200,7 @@ sub do_switch {
$modules_conf->set_sound_slot("sound-slot-$index", $new_driver);
$modules_conf->write;
if ($new_driver =~ /^snd-/) { # new driver is an alsa one
- $in->do_pkgs->ensure_binary_is_installed(@$_) foreach ([ qw(alsa-utils alsactl) ],
+ $in->do_pkgs->ensure_binary_is_installed(@$_, 1) foreach ([ qw(alsa-utils alsactl) ],
[ qw(aoss aoss) ]);
rooted("service alsa start") if $::isStandalone && !$blacklisted;
rooted("/sbin/chkconfig --add alsa") if $::isStandalone;