summaryrefslogtreecommitdiffstats
path: root/source/n/openssl/doinst.sh-openssl
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/openssl/doinst.sh-openssl')
-rw-r--r--source/n/openssl/doinst.sh-openssl5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/n/openssl/doinst.sh-openssl b/source/n/openssl/doinst.sh-openssl
index c92e60763..8fcf3d1c1 100644
--- a/source/n/openssl/doinst.sh-openssl
+++ b/source/n/openssl/doinst.sh-openssl
@@ -19,3 +19,8 @@ fi
config etc/ssl/openssl.cnf.new
config etc/cron.daily/certwatch.new
+
+# Rehash certificates if the package is upgraded on a running system:
+if [ -x /usr/bin/c_rehash ]; then
+ /usr/bin/c_rehash 1> /dev/null 2> /dev/null
+fi