From 467d1a34b764e18339d046441c78bec2bde6db9e Mon Sep 17 00:00:00 2001 From: Marwolf Date: Fri, 13 Jul 2018 19:20:10 -0400 Subject: [PATCH] Logic corrections --- Setup_Linux.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Setup_Linux.sh b/Setup_Linux.sh index 33563a6..c4703f6 100755 --- a/Setup_Linux.sh +++ b/Setup_Linux.sh @@ -83,7 +83,17 @@ if [ "$install" == "1" ]; then if [ "$brew" == "1" ]; then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install git + echo "" + echo "Attempting to install Docker now" + echo "" + curl -fsSL get.docker.com -o get-docker.sh + sudo sh get-docker.sh else + echo "" + echo "Attempting to install Docker now" + echo "" + curl -fsSL get.docker.com -o get-docker.sh + sudo sh get-docker.sh continue fi elif [ "$os" == "4" ]; then @@ -91,23 +101,14 @@ if [ "$install" == "1" ]; then echo "You will have to install Git manually then. Press enter to continue." echo "" read - echo "" echo "Attempting to install Docker now" echo "" curl -fsSL get.docker.com -o get-docker.sh sudo sh get-docker.sh - sudo apt install docker-compose else continue fi - - echo "" - echo "Attempting to install Docker now" - echo "" - curl -fsSL get.docker.com -o get-docker.sh - sudo sh get-docker.sh - sudo apt install docker-compose else continue fi