diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-13 14:46:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-13 14:46:36 +0000 |
commit | b9dfbf2c7c4f186dfb0c531a1ead175610c81073 (patch) | |
tree | 2efe26563f53961c8180dc08c833028fd5b36222 /perl-install/harddrake | |
parent | 1dce0edabddba25530faa1fa3e8cea6b284680d8 (diff) | |
download | drakx-b9dfbf2c7c4f186dfb0c531a1ead175610c81073.tar drakx-b9dfbf2c7c4f186dfb0c531a1ead175610c81073.tar.gz drakx-b9dfbf2c7c4f186dfb0c531a1ead175610c81073.tar.bz2 drakx-b9dfbf2c7c4f186dfb0c531a1ead175610c81073.tar.xz drakx-b9dfbf2c7c4f186dfb0c531a1ead175610c81073.zip |
(switch) make sure that switch alsa-plugins-pulseaudio is installed
when enabling PA routing (#40533)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/sound.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 4d5288c0f..b94ae4c45 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -328,6 +328,10 @@ sub switch { set_pulseaudio_routing($is_pulseaudio_enabled && $is_pulseaudio_routing_enabled); set_5_1_in_pulseaudio($is_5_1_in_pulseaudio_enabled); set_user_switching($is_user_switching); + if ($is_pulseaudio_routing_enabled) { + $in->do_pkgs->ensure_is_installed('alsa-plugins-pulseaudio', '/usr/' . (arch() =~ /x86_64/ ? 'lib64' : 'lib') + .'/alsa-lib/libasound_module_pcm_pulse.so2'); + } }; my @common = ( |