case "$1" in
configure)
- if dpkg --compare-versions "$2" lt 20030414; then
- # remove old *.pem files that ca-certificates installed
- (cd /etc/ssl/certs; rm -f $(cat /usr/share/doc/ca-certificates/oldpemfiles))
- fi
+ if [ ! -e /usr/local/share/ca-certificates ]
+ then
+ if mkdir /usr/local/share/ca-certificates 2>/dev/null
+ then
+ chown root:staff /usr/local/share/ca-certificates
+ chmod 2775 /usr/local/share/ca-certificates
+ fi
+ fi
+
. /usr/share/debconf/confmodule
db_version 2.0
db_capb multiselect
CERTS_ENABLED="$RET"
# XXX unmark seen for next configuration
db_fset ca-certificates/new_crts seen false
+ # We should clean up this value now, as everyone will have
+ # upgraded to a fixed version.
+ db_fset ca-certificates/enable_crts asked_pt_br_question false
db_stop || true
if test -f /etc/ca-certificates.conf; then
# XXX: while in subshell?
# new file
cat > /etc/ca-certificates.conf <<EOF
# This file lists certificates that you wish to use or to ignore to be
-# installed in /etc/ssl/certs.
+# installed in /etc/ssl/certs.
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file.
-#
+#
# This is autogenerated by dpkg-reconfigure ca-certificates.
-# certificates shoule be installed under /usr/share/ca-certificates
+# Certificates should be installed under /usr/share/ca-certificates
# and files with extension '.crt' is recognized as available certs.
-#
+#
# line begins with # is comment.
# line begins with ! is certificate filename to be deselected.
#