#2 Do not call deleted script from %post section
Merged 4 years ago by mhonek. Opened 4 years ago by tartina.
rpms/ tartina/openldap post-cleanup  into  master

file modified
+1 -6
@@ -342,12 +342,7 @@ 

  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

  

Commit b730f13 deleted certificate
generation scripts, but create_certdb.sh was still called from
%post section.

Pull-Request has been merged by mhonek

4 years ago
Metadata