From 0e375af1c497ac7ea12a89312bcc84ab80b3e816 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 19 Jun 2018 00:46:56 +0900 Subject: [PATCH] make emails ending by @example.com empty --- btcpay-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index bb2a275..c10e2ff 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -67,6 +67,11 @@ 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..."