if test -L "$PEM"
then
rm -f "$PEM"
-@@ -110,24 +110,17 @@
+@@ -89,6 +89,7 @@
+ do
+ case $(readlink $symlink) in
+ $CERTSDIR*) rm -f $symlink;;
++ $LOCALCERTSDIR*) rm -f $symlink;;
+ esac
+ done
+ find . -type l -print | while read symlink
+@@ -110,24 +110,18 @@
sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
do
then
+ add "$CERTSDIR/$crt"
+ elif test -f "$LOCALCERTSDIR/$crt"
++ then
+ add "$LOCALCERTSDIR/$crt"
+ else
- echo "W: $CERTSDIR/$crt not found, but listed in $CERTSCONF." >&2