[packages/ca-certificates] remove dead links in /etc/openssl/certs when uninstalling update
atler
atler at pld-linux.org
Thu Oct 22 14:56:16 CEST 2020
commit 6587a0f25796ff436cfcd5841c9a819dad81821e
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Oct 22 14:54:42 2020 +0200
remove dead links in /etc/openssl/certs when uninstalling update
ca-certificates.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index 619d69f..cd2f8b1 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -1,5 +1,4 @@
# TODO
-# - cleanup dead links from /etc/openssl/certs after -update uninstall
# - https://bugzilla.mozilla.org/show_bug.cgi?id=549701 and
# http://groups.google.com/group/mozilla.dev.security.policy/browse_thread/thread/b6493a285ba79998#
# - make amsn use system certs
@@ -257,6 +256,9 @@ rm -rf $RPM_BUILD_ROOT
%post update
%{_sbindir}/update-ca-certificates --fresh || :
+%postun update
+/usr/bin/find "%{openssldir}" -xtype l -delete || :
+
%files
%defattr(644,root,root,755)
%doc work/debian/{README.Debian,changelog}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ca-certificates.git/commitdiff/6587a0f25796ff436cfcd5841c9a819dad81821e
More information about the pld-cvs-commit
mailing list