void-packages/srcpkgs/dovecot/INSTALL
2015-06-03 23:55:18 +02:00

9 lines
196 B
Text

case "${ACTION}" in
post)
if [ -f etc/ssl/private/dovecot.pem -a -f etc/ssl/certs/dovecot.pem ]; then
exit 0
fi
echo "Creating self-signed certificate..."
usr/bin/dovecot-mkcert.sh
;;
esac