From 43701cb8a59277efef20d7f33a65107714cdfb5c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 29 Nov 2005 11:24:28 +0000 Subject: (do_switch) automatically install packages --- perl-install/harddrake/sound.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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; -- cgit v1.2.1