From aea5589371139fc60a3e3cb584a36e0bbc633747 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Mar 2004 13:42:23 +0000 Subject: install alsa-utils if needed (#6288) --- perl-install/harddrake/sound.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/harddrake') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 1f1470dec..1fae6f354 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -158,6 +158,7 @@ sub do_switch { modules::add_alias("sound-slot-$index", $new_driver); modules::write_conf(); if ($new_driver =~ /^snd-/) { # new driver is an alsa one + $in->do_pkgs->ensure_is_installed('alsa-utils', '/usr/sbin/alsactl'); rooted("service alsa start") if $::isStandalone && !$blacklisted; rooted("/sbin/chkconfig --add alsa") if $::isStandalone; load($new_driver) if $::isStandalone; # service alsa is buggy -- cgit v1.2.1