openldap: fix example permissions

This commit is contained in:
Leah Neukirchen 2019-09-26 09:36:59 +02:00
parent deb4bb30d0
commit 98dcc53269

View file

@ -1,7 +1,7 @@
# Template file for 'openldap' # Template file for 'openldap'
pkgname=openldap pkgname=openldap
version=2.4.48 version=2.4.48
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--prefix=/usr configure_args="--prefix=/usr
--libexecdir=/usr/libexec --libexecdir=/usr/libexec
@ -40,6 +40,7 @@ post_install() {
chmod 755 ${DESTDIR}/usr/lib/*.so.* chmod 755 ${DESTDIR}/usr/lib/*.so.*
vmkdir usr/share/examples/openldap vmkdir usr/share/examples/openldap
mv ${DESTDIR}/etc/openldap/*.{example,default} ${DESTDIR}/usr/share/examples/openldap mv ${DESTDIR}/etc/openldap/*.{example,default} ${DESTDIR}/usr/share/examples/openldap
chmod 0644 ${DESTDIR}/usr/share/examples/openldap/*
} }