debian/postinst
changeset 20 1ca14c3e5022
parent 15 a9462fce24e1
child 22 d751ba0d6245
--- a/debian/postinst	Tue Nov 10 14:44:04 2015 +0100
+++ b/debian/postinst	Wed Nov 11 11:18:47 2015 +0100
@@ -31,8 +31,11 @@
 
 	# find schlittermann certs that are used somewhere
 	{
-	    echo '/etc/ssl/certs/schlittermann-ca.pem'; 
-	    find /etc/ssl/certs -name '*schlittermann*' -not -type l -type f -printf '%p\n'
+	    echo '/etc/ssl/certs/schlittermann-ca.pem' 
+	    find /etc/ssl/certs \( 
+		    -name '*ca*schlittermann*' \
+		    -o  -name '*schlittermann*ca*' \
+		\) -not -type l -type f -printf '%p\n'
 	} | sort -u | while read FILE; do
 		found=$(grep --exclude-dir '.hg' -rlF "$FILE" /etc) || continue
 		{