From b8ac3a77825a5d742f445f217a6688532f3d0345 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 24 Jun 2016 17:38:46 +0200 Subject: (get_libdir) introduce it it'll be reused in compssUsers.pl --- perl-install/harddrake/sound.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/harddrake/sound.pm') diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index a173e8984..5ca93d837 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -95,7 +95,7 @@ sub config { set_pulseaudio($is_pulseaudio_enabled); set_pulseaudio_glitchfree($is_pulseaudio_glitchfree_enabled); if ($is_pulseaudio_enabled) { - my $lib = (arch() =~ /x86_64/ ? 'lib64' : 'lib'); + my $lib = get_libdir(); $in->do_pkgs->ensure_is_installed($lib . 'alsa-plugins-pulseaudio', '/usr/' . $lib . '/alsa-lib/libasound_module_pcm_pulse.so'); } -- cgit v1.2.1