diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-18 13:42:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-18 13:42:23 +0000 |
commit | aea5589371139fc60a3e3cb584a36e0bbc633747 (patch) | |
tree | 6965ded8df4cd4eaac12bfd4b550ee0145bd19c0 | |
parent | 405782478645c7baa53093ca7d1d65e65bb95314 (diff) | |
download | drakx-aea5589371139fc60a3e3cb584a36e0bbc633747.tar drakx-aea5589371139fc60a3e3cb584a36e0bbc633747.tar.gz drakx-aea5589371139fc60a3e3cb584a36e0bbc633747.tar.bz2 drakx-aea5589371139fc60a3e3cb584a36e0bbc633747.tar.xz drakx-aea5589371139fc60a3e3cb584a36e0bbc633747.zip |
install alsa-utils if needed (#6288)
-rw-r--r-- | perl-install/harddrake/sound.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 |