debian/postinst
changeset 20 1ca14c3e5022
parent 15 a9462fce24e1
child 22 d751ba0d6245
equal deleted inserted replaced
19:1b7ae2c3c879 20:1ca14c3e5022
    29 	echo "$CRTS" >> $CONF
    29 	echo "$CRTS" >> $CONF
    30 	update-ca-certificates --fresh
    30 	update-ca-certificates --fresh
    31 
    31 
    32 	# find schlittermann certs that are used somewhere
    32 	# find schlittermann certs that are used somewhere
    33 	{
    33 	{
    34 	    echo '/etc/ssl/certs/schlittermann-ca.pem'; 
    34 	    echo '/etc/ssl/certs/schlittermann-ca.pem' 
    35 	    find /etc/ssl/certs -name '*schlittermann*' -not -type l -type f -printf '%p\n'
    35 	    find /etc/ssl/certs \( 
       
    36 		    -name '*ca*schlittermann*' \
       
    37 		    -o  -name '*schlittermann*ca*' \
       
    38 		\) -not -type l -type f -printf '%p\n'
    36 	} | sort -u | while read FILE; do
    39 	} | sort -u | while read FILE; do
    37 		found=$(grep --exclude-dir '.hg' -rlF "$FILE" /etc) || continue
    40 		found=$(grep --exclude-dir '.hg' -rlF "$FILE" /etc) || continue
    38 		{
    41 		{
    39 		    echo "WARNING: \`$FILE' used in:"
    42 		    echo "WARNING: \`$FILE' used in:"
    40 		    echo "$found"
    43 		    echo "$found"