summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-11-10 15:16:06 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-11-10 15:16:06 +0000
commitebb4be7bd9de5e6ef2e60f03589dd924ad48838f (patch)
treea0517582f393f0cfd831ff389faf49719d6bfe0e
parente0aafb8e9ba0eba53809bb60ea4215a7cb3880fc (diff)
downloaddrakx-ebb4be7bd9de5e6ef2e60f03589dd924ad48838f.tar
drakx-ebb4be7bd9de5e6ef2e60f03589dd924ad48838f.tar.gz
drakx-ebb4be7bd9de5e6ef2e60f03589dd924ad48838f.tar.bz2
drakx-ebb4be7bd9de5e6ef2e60f03589dd924ad48838f.tar.xz
drakx-ebb4be7bd9de5e6ef2e60f03589dd924ad48838f.zip
use right package names for alsa pulseaudio plugins
The code was looking for alsa-pulseaudio-plugins which is only provided by the alsa pulseaudio plugins. Their actual name is lib[64]alsa-pulseaudio-plugins
-rw-r--r--perl-install/harddrake/sound.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index 7d4960d46..a8856b967 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -350,9 +350,9 @@ sub switch {
set_5_1_in_pulseaudio($is_5_1_in_pulseaudio_enabled);
set_user_switching($is_user_switching);
if ($is_pulseaudio_enabled) {
- $in->do_pkgs->ensure_is_installed('alsa-plugins-pulseaudio', '/usr/'
- . (arch() =~ /x86_64/ ? 'lib64' : 'lib')
- . '/alsa-lib/libasound_module_pcm_pulse.so');
+ my $lib = (arch() =~ /x86_64/ ? 'lib64' : 'lib');
+ $in->do_pkgs->ensure_is_installed($lib . 'alsa-plugins-pulseaudio',
+ '/usr/' . $lib . '/alsa-lib/libasound_module_pcm_pulse.so');
}
if ($old_value ne $is_pulseaudio_enabled) {
require any;