Merge #2 Do not call deleted script from %post section

This commit is contained in:
Matus Honek 2017-11-14 14:24:32 +00:00
commit d8e109406e

View File

@ -317,12 +317,7 @@ rm -f %{buildroot}%{_libdir}/*.la # because we do not want files in %{_libdir}/
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
rmdir %{buildroot}%{_localstatedir}/openldap-data
%post
/sbin/ldconfig
# create certificate database
%{_libexecdir}/openldap/create-certdb.sh >&/dev/null || :
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig