This commit is contained in:
Marwolf
2018-07-13 17:36:58 -04:00
parent 142afcab50
commit 17db2dec90

View File

@@ -8,7 +8,7 @@ NC=`tput sgr0` # No Color
echo "${RED}Open RSC Installer:${NC} echo "${RED}Open RSC Installer:${NC}
An easy to run RSC private server environment using Docker magic. An easy to run RSC private server environment using Docker magic.
Before continuing, Open RSC needs to know if you have Docker and git installed. Before continuing, Open RSC needs to know if you have Docker, and Git installed.
This installer can install one or both for you if needed. This installer can install one or both for you if needed.
Choices: Choices:
@@ -29,10 +29,9 @@ if [ "$install" == "1" ]; then
read os read os
if [ "$os" == "1" ]; then if [ "$os" == "1" ]; then
sudo apt-get install git -y sudo apt-get update && sudo apt-get install git build-essential apt-transport-https ca-certificates curl software-properties-common -y
#build-essential apt-transport-https ca-certificates curl software-properties-common
elif [ "$os" == "2" ]; then elif [ "$os" == "2" ]; then
su -c 'yum install git' su -c 'yum update && yum install git'
elif [ "$os" == "3" ]; then elif [ "$os" == "3" ]; then
clear clear
echo "Do you have brew installed?" echo "Do you have brew installed?"
@@ -50,14 +49,13 @@ if [ "$install" == "1" ]; then
fi fi
elif [ "$os" == "4" ]; then elif [ "$os" == "4" ]; then
echo "" echo ""
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
else else
continue continue
fi fi
echo "Attempting to install Docker now" echo "Attempting to install Docker now"
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