Do not replace email ending by example

This commit is contained in:
nicolas.dorier
2018-06-19 01:38:52 +09:00
parent c332fe2e04
commit 34f3b653b5

View File

@@ -67,11 +67,6 @@ if [ "$1" != "-i" ]; then
return
fi
if [[ $LETSENCRYPT_EMAIL == *@example.com ]]; then
echo "LETSENCRYPT_EMAIL can't end with @example.com, transformed to empty email"
LETSENCRYPT_EMAIL=""
fi
######### Migration: old pregen environment to new environment ############
if [ ! -z $BTCPAY_DOCKER_COMPOSE ] && [ ! -z $DOWNLOAD_ROOT ] && [ -z $BTCPAYGEN_OLD_PREGEN ]; then
echo "Old pregen docker deployment detected. Migrating..."