From 17db2dec9037340f361d03590eabaedeeb32d522 Mon Sep 17 00:00:00 2001 From: Marwolf Date: Fri, 13 Jul 2018 17:36:58 -0400 Subject: [PATCH] Tweaks --- Setup_Linux.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Setup_Linux.sh b/Setup_Linux.sh index 121bdcf..9e04652 100755 --- a/Setup_Linux.sh +++ b/Setup_Linux.sh @@ -8,7 +8,7 @@ NC=`tput sgr0` # No Color echo "${RED}Open RSC Installer:${NC} 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. Choices: @@ -29,10 +29,9 @@ if [ "$install" == "1" ]; then read os if [ "$os" == "1" ]; then - sudo apt-get install git -y - #build-essential apt-transport-https ca-certificates curl software-properties-common + sudo apt-get update && sudo apt-get install git build-essential apt-transport-https ca-certificates curl software-properties-common -y elif [ "$os" == "2" ]; then - su -c 'yum install git' + su -c 'yum update && yum install git' elif [ "$os" == "3" ]; then clear echo "Do you have brew installed?" @@ -50,14 +49,13 @@ if [ "$install" == "1" ]; then fi elif [ "$os" == "4" ]; then 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 "" read else continue fi - echo "Attempting to install Docker now" curl -fsSL get.docker.com -o get-docker.sh sudo sh get-docker.sh