]> git.donarmstrong.com Git - ca-certificates.git/blobdiff - debian/postinst
Import Debian version 20110421
[ca-certificates.git] / debian / postinst
index 7113b68bb9ee27281db411a8454173c71ec6cba1..b2772819c3f2cc6dad4a9cc324505907520cb3b3 100644 (file)
@@ -138,6 +138,13 @@ EOF
            >> /etc/ca-certificates.conf
        fi
        update-ca-certificates
+       # Call c_rehash when upgrading from older versions to that we
+       # have both the old and new style of symlink
+       if [ ! -z "$2" ]; then
+         if dpkg --compare-versions "$2" le 20090814+nmu3; then
+           c_rehash
+         fi
+       fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)