From 50c58f5ba626c83155d8315eaf224edfa40e7e98 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 26 Nov 2018 19:34:51 +0900 Subject: [PATCH] fix indent --- btcpay-setup.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index fd7ffa0..ae75e80 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -230,15 +230,15 @@ if ! [ -x "$(command -v docker)" ] || ! [ -x "$(command -v docker-compose)" ]; t sh get-docker.sh rm get-docker.sh fi -if ! [ -x "$(command -v docker-compose)" ]; then - if [[ "$(uname -m)" == "x86_64" ]]; then - DOCKER_COMPOSE_DOWNLOAD="https://github.com/docker/compose/releases/download/1.17.1/docker-compose-$(uname -s)-$(uname -m)" - echo "Trying to install docker-compose by downloading on $DOCKER_COMPOSE_DOWNLOAD" - curl -L "$DOCKER_COMPOSE_DOWNLOAD" -o /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose + if ! [ -x "$(command -v docker-compose)" ]; then + if [[ "$(uname -m)" == "x86_64" ]]; then + DOCKER_COMPOSE_DOWNLOAD="https://github.com/docker/compose/releases/download/1.17.1/docker-compose-$(uname -s)-$(uname -m)" + echo "Trying to install docker-compose by downloading on $DOCKER_COMPOSE_DOWNLOAD" + curl -L "$DOCKER_COMPOSE_DOWNLOAD" -o /usr/local/bin/docker-compose + chmod +x /usr/local/bin/docker-compose + fi fi fi -fi if ! [ -x "$(command -v docker)" ]; then echo "Failed to install docker"