Browse Source

fix script

migrate-pregen
nicolas.dorier 6 years ago
parent
commit
01549f293a
  1. 2
      btcpay-setup.sh

2
btcpay-setup.sh

@ -331,7 +331,7 @@ fi
cd "$(dirname $BTCPAY_ENV_FILE)"
if [ "$OLD_BTCPAY_DOCKER_COMPOSE" != "$BTCPAY_DOCKER_COMPOSE" ]; then
if [ ! -z "$OLD_BTCPAY_DOCKER_COMPOSE" ] && [ "$OLD_BTCPAY_DOCKER_COMPOSE" != "$BTCPAY_DOCKER_COMPOSE" ]; then
echo "Closing old docker-compose at $OLD_BTCPAY_DOCKER_COMPOSE..."
docker-compose -f "$OLD_BTCPAY_DOCKER_COMPOSE" down
fi

Loading…
Cancel
Save