debian/postinst
changeset 22 d751ba0d6245
parent 20 1ca14c3e5022
equal deleted inserted replaced
21:c0413281ff03 22:d751ba0d6245
    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 \( 
    35 	    find /etc/ssl/certs \( \
    36 		    -name '*ca*schlittermann*' \
    36 		    -name '*ca*schlittermann*' \
    37 		    -o  -name '*schlittermann*ca*' \
    37 		    -o  -name '*schlittermann*ca*' \
    38 		\) -not -type l -type f -printf '%p\n'
    38 		\) -not -type l -type f -printf '%p\n'
    39 	} | sort -u | while read FILE; do
    39 	} | sort -u | while read FILE; do
    40 		found=$(grep --exclude-dir '.hg' -rlF "$FILE" /etc) || continue
    40 		found=$(grep --exclude-dir '.hg' -rlF "$FILE" /etc) || continue