Browse Source

Simplify script

feature/auto_ssh
nicolas.dorier 6 years ago
parent
commit
df0a784ab4
  1. 10
      btcpay-update.sh

10
btcpay-update.sh

@ -17,14 +17,12 @@ fi
cd "$BTCPAY_BASE_DIRECTORY/btcpayserver-docker"
git pull --force
if [[ $BTCPAY_DOCKER_COMPOSE == *docker-compose.generated.yml ]]; then
# Generate the docker compose in BTCPAY_DOCKER_COMPOSE
. ./build.sh
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
fi
. ./build.sh
if [ "$BTCPAYGEN_OLD_PREGEN" == "true" ]; then
cp Generated/docker-compose.generated.yml $BTCPAY_DOCKER_COMPOSE
fi
for scriptname in *.sh; do
if [ "$scriptname" == "build.sh" ] || \
[ "$scriptname" == "build-pregen.sh" ] || \

Loading…
Cancel
Save