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:
parent
671ba8f100
commit
031e2b95cc
@ -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
|
rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example
|
||||||
rmdir %{buildroot}%{_localstatedir}/openldap-data
|
rmdir %{buildroot}%{_localstatedir}/openldap-data
|
||||||
|
|
||||||
%post
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
# create certificate database
|
|
||||||
%{_libexecdir}/openldap/create-certdb.sh >&/dev/null || :
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user