Logic corrections
This commit is contained in:
@@ -83,7 +83,17 @@ if [ "$install" == "1" ]; then
|
|||||||
if [ "$brew" == "1" ]; then
|
if [ "$brew" == "1" ]; then
|
||||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||||
brew install git
|
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
|
else
|
||||||
|
echo ""
|
||||||
|
echo "Attempting to install Docker now"
|
||||||
|
echo ""
|
||||||
|
curl -fsSL get.docker.com -o get-docker.sh
|
||||||
|
sudo sh get-docker.sh
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
elif [ "$os" == "4" ]; then
|
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 "You will have to install Git manually then. Press enter to continue."
|
||||||
echo ""
|
echo ""
|
||||||
read
|
read
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Attempting to install Docker now"
|
echo "Attempting to install Docker now"
|
||||||
echo ""
|
echo ""
|
||||||
curl -fsSL get.docker.com -o get-docker.sh
|
curl -fsSL get.docker.com -o get-docker.sh
|
||||||
sudo sh get-docker.sh
|
sudo sh get-docker.sh
|
||||||
sudo apt install docker-compose
|
|
||||||
else
|
else
|
||||||
continue
|
continue
|
||||||
fi
|
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
|
else
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user