From 479f3f70b6328dd98112a9c408db192a14fabd32 Mon Sep 17 00:00:00 2001 From: Michael Shuler Date: Wed, 2 Nov 2016 20:37:22 -0500 Subject: Run update-certificates without hooks initially #825730 --- debian/postinst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'debian/postinst') diff --git a/debian/postinst b/debian/postinst index f7ef7f4..21586bb 100644 --- a/debian/postinst +++ b/debian/postinst @@ -138,13 +138,16 @@ EOF -e 's/^[[:space:]]*1[[:space:]]*/!/' \ >> /etc/ca-certificates.conf fi + # update /etc/ssl/certs without running the hooks # fix bogus symlink to ca-certificates.crt on upgrades; see # Debian #643667; drop after wheezy if dpkg --compare-versions "$2" lt-nl 20111025; then - dpkg-trigger --no-await update-ca-certificates-fresh + update-ca-certificates --hooksdir "" --fresh else - dpkg-trigger --no-await update-ca-certificates + update-ca-certificates --hooksdir "" fi + # deferred update of /etc/ssl/certs including running the hooks + dpkg-trigger --no-await update-ca-certificates ;; triggered) -- cgit v1.2.1