summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-16 10:19:12 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-16 10:19:12 +0000
commit78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294 (patch)
tree36569037daa5ef74e2f135e2fe1af152051cbbc8 /perl-install
parentdd69e88fd99d677d3cc1b62f709e98d4f648bbf2 (diff)
downloaddrakx-78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294.tar
drakx-78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294.tar.gz
drakx-78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294.tar.bz2
drakx-78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294.tar.xz
drakx-78cc419bfa6ce7a2c6d6c9b238aa90701b7b3294.zip
(switch) make sure package presence test can succeed in installer,
thus making this faster
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/harddrake/sound.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index d5becd85c..9e68833d4 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -347,7 +347,8 @@ sub switch {
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')
+ $in->do_pkgs->ensure_is_installed('alsa-plugins-pulseaudio', "$::prefix/usr/"
+ . (arch() =~ /x86_64/ ? 'lib64' : 'lib')
.'/alsa-lib/libasound_module_pcm_pulse.so');
}
if ($old_value ne $is_pulseaudio_enabled) {