diff --git a/Setup_Linux.sh b/Setup_Linux.sh index ca89ba8..33563a6 100755 --- a/Setup_Linux.sh +++ b/Setup_Linux.sh @@ -60,10 +60,10 @@ if [ "$install" == "1" ]; then echo "Attempting to install Docker now" echo "" - sudo apt update && install git build-essential apt-transport-https ca-certificates curl software-properties-common -y + sudo apt update && sudo apt install git build-essential apt-transport-https ca-certificates curl software-properties-common -y curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $vers stable" - sudo apt update && install docker-ce docker-compose -y + sudo apt update && sudo apt install docker-ce docker-compose -y elif [ "$os" == "2" ]; then su -c 'yum update && yum install git' echo "" @@ -84,12 +84,6 @@ if [ "$install" == "1" ]; then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install git else - 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 continue fi elif [ "$os" == "4" ]; then