summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-11-28 18:27:53 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-11-28 18:27:53 +0000
commit23c5302dd80eac2c4456e007b4c142ef573e33cd (patch)
tree0e7f60910c015509364adedf70872758d7713302 /perl-install/harddrake
parentebb94b885b2d62af371893a9e60ab2f266842cd6 (diff)
downloaddrakx-23c5302dd80eac2c4456e007b4c142ef573e33cd.tar
drakx-23c5302dd80eac2c4456e007b4c142ef573e33cd.tar.gz
drakx-23c5302dd80eac2c4456e007b4c142ef573e33cd.tar.bz2
drakx-23c5302dd80eac2c4456e007b4c142ef573e33cd.tar.xz
drakx-23c5302dd80eac2c4456e007b4c142ef573e33cd.zip
(do_switch) make package installation actually work
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r--perl-install/harddrake/sound.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 96f50ae58..44b437ffc 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -200,7 +200,8 @@ 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(qw(alsactl alsa-utils aoss));
+ $in->do_pkgs->ensure_binary_is_installed(@$_) foreach ([ qw(alsa-utils alsactl) ],
+ [ qw(aoss aoss) ]);
rooted("service alsa start") if $::isStandalone && !$blacklisted;
rooted("/sbin/chkconfig --add alsa") if $::isStandalone;
load($modules_conf, $new_driver) if $::isStandalone; # service alsa is buggy