summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/sound.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-24 17:38:46 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-24 17:49:49 +0200
commitb8ac3a77825a5d742f445f217a6688532f3d0345 (patch)
tree926647f1c742f50718f0c13658130f6199761407 /perl-install/harddrake/sound.pm
parent4c1cb5006360ccb780926000bd57f150e0fc8fbe (diff)
downloaddrakx-b8ac3a77825a5d742f445f217a6688532f3d0345.tar
drakx-b8ac3a77825a5d742f445f217a6688532f3d0345.tar.gz
drakx-b8ac3a77825a5d742f445f217a6688532f3d0345.tar.bz2
drakx-b8ac3a77825a5d742f445f217a6688532f3d0345.tar.xz
drakx-b8ac3a77825a5d742f445f217a6688532f3d0345.zip
(get_libdir) introduce it
it'll be reused in compssUsers.pl
Diffstat (limited to 'perl-install/harddrake/sound.pm')
-rw-r--r--perl-install/harddrake/sound.pm2
1 files changed, 1 insertions, 1 deletions
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');
}