Do not call deleted script from %post section

Commit b730f13ce0 deleted certificate
generation scripts, but create_certdb.sh was still called from
%post section.
This commit is contained in:
Guido Aulisi 2017-10-31 23:21:05 +01:00
parent 671ba8f100
commit 031e2b95cc

View File

@ -342,12 +342,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