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