#!/bin/sh
if [ -e $D/usr/lib/ssl/openssl.cnf ]; then
	rm -f $D/usr/lib/ssl/openssl.cnf
fi

# If openssl-conf is installed before openssl, we must ensure that the symlink
# destination exists
mkdir -p $D/usr/lib/ssl/
ln -s /etc/ssl/openssl.cnf $D/usr/lib/ssl/openssl.cnf
