net-nds/openldap: fix missing trailing slash
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 13 Feb 2020 01:42:19 +0000 (02:42 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 13 Feb 2020 01:43:03 +0000 (02:43 +0100)
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
net-nds/openldap/openldap-2.4.49-r1.ebuild [moved from net-nds/openldap/openldap-2.4.49.ebuild with 99% similarity]

similarity index 99%
rename from net-nds/openldap/openldap-2.4.49.ebuild
rename to net-nds/openldap/openldap-2.4.49-r1.ebuild
index 065d0375a0bfc618ee4ada929de2b6cd4fecd6d7..8859904cbf51512046b1c407a87a59e384cf8953 100644 (file)
@@ -882,9 +882,9 @@ pkg_postinst() {
 
                # These lines force the permissions of various content to be correct
                use prefix || chown ldap:ldap "${EROOT}"/var/run/openldap
-               chmod 0755 "${EROOT}"var/run/openldap
+               chmod 0755 "${EROOT}"/var/run/openldap || die
                use prefix || chown root:ldap "${EROOT}"/etc/openldap/slapd.conf{,.default}
-               chmod 0640 "${EROOT}"etc/openldap/slapd.conf{,.default}
+               chmod 0640 "${EROOT}"/etc/openldap/slapd.conf{,.default} || die
                use prefix || chown ldap:ldap "${EROOT}"/var/lib/openldap-data
        fi