diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-10 15:16:06 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-11-10 15:16:06 +0000 |
commit | ebb4be7bd9de5e6ef2e60f03589dd924ad48838f (patch) | |
tree | a0517582f393f0cfd831ff389faf49719d6bfe0e /perl-install | |
parent | e0aafb8e9ba0eba53809bb60ea4215a7cb3880fc (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/harddrake/sound.pm | 6 |
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; |