Merge #2 Do not call deleted script from %post section
This commit is contained in:
commit
d8e109406e
@ -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
|
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