summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/harddrake')
-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) {