summaryrefslogtreecommitdiffstats
path: root/perl-install/authentication.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-06-05 20:50:23 +0000
committerThierry Vignaud <tv@mandriva.org>2010-06-05 20:50:23 +0000
commit1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a (patch)
tree100699c021a567eaf84b04eb06a64b1f80c1c7b8 /perl-install/authentication.pm
parent9b0e910fad286278b22b2f87ff51d0e395c32c0e (diff)
downloaddrakx-1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a.tar
drakx-1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a.tar.gz
drakx-1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a.tar.bz2
drakx-1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a.tar.xz
drakx-1dec6e65f12d08fa79717d6d8630a1cda4e0ce2a.zip
fix installing lib64sasl2-plug-gssapi instead of libsasl2-plug-gssapi on
64bit machines when 32bit media are available (#57728)
Diffstat (limited to 'perl-install/authentication.pm')
-rw-r--r--perl-install/authentication.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 452a0667a..25022963d 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -47,13 +47,15 @@ my %kind2nsswitch = (
winbind => ['winbind'],
);
+my $lib = (arch() =~ /x86_64/ ? 'lib64' : 'lib');
+
my %kind2packages = (
local => [],
SmartCard => [ 'castella-pam' ],
LDAP => [ 'openldap-clients', 'nss_ldap', 'pam_ldap', 'autofs', 'nss_updatedb' ],
- KRB5 => [ 'nss_ldap', 'pam_krb5', 'libsasl2-plug-gssapi', 'nss_updatedb' ],
+ KRB5 => [ 'nss_ldap', 'pam_krb5', "${lib}sasl2-plug-gssapi", 'nss_updatedb' ],
NIS => [ 'ypbind', 'autofs' ],
- winbind => [ 'samba-winbind', 'nss_ldap', 'pam_krb5', 'libsasl2-plug-gssapi' ],
+ winbind => [ 'samba-winbind', 'nss_ldap', 'pam_krb5', "${lib}sasl2-plug-gssapi" ],
);