From 8760355a1b9c1e046a0c25f53ab7f54eda91b0a4 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 5 Sep 2019 11:46:25 +0900 Subject: [PATCH] Revert "Detect if Raspbian Linux and patch docker installation script" (#195) This reverts commit eec49db38608e2a676db101b9901a8118e722d18. --- btcpay-setup.sh | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index a7bc134..4d34d39 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -367,20 +367,13 @@ if ! [[ -x "$(command -v docker)" ]] || ! [[ -x "$(command -v docker-compose)" ] brew install docker brew link docker fi - elif grep -i raspbian /etc/*-release >/dev/null 2>&1;then - # Raspbian Linux - echo "Trying to install docker using Raspbian 10 patch..." - curl -fsSL https://get.docker.com|sed -e 's/buster/stretch/' > get-docker.sh - chmod +x get-docker.sh - sh get-docker.sh - rm get-docker.sh - else - # Not Raspbian Linux or Mac OS - echo "Trying to install docker..." - curl -fsSL https://get.docker.com -o get-docker.sh - chmod +x get-docker.sh - sh get-docker.sh - rm get-docker.sh + else + # Not Mac OS + echo "Trying to install docker..." + curl -fsSL https://get.docker.com -o get-docker.sh + chmod +x get-docker.sh + sh get-docker.sh + rm get-docker.sh fi elif [[ "$(uname -m)" == "aarch64" ]]; then echo "Trying to install docker for armv7 on a aarch64 board..."