From 361c1338783f1090e28c6444e75957e8e75da6ef Mon Sep 17 00:00:00 2001 From: Marwolf Date: Wed, 22 Aug 2018 11:06:34 -0400 Subject: [PATCH] Dividing to prevent loop --- Linux_Cloner.sh | 19 +++++++++++++++++++ Linux_Installer.sh | 8 +------- 2 files changed, 20 insertions(+), 7 deletions(-) create mode 100755 Linux_Cloner.sh diff --git a/Linux_Cloner.sh b/Linux_Cloner.sh new file mode 100755 index 0000000..2af1086 --- /dev/null +++ b/Linux_Cloner.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# shellcheck disable=SC1090 + +# Open RSC: A replica RSC private server framework +# +# Installs and updates Open RSC +# +# Install with this command (from your Linux machine): +# +# curl -sSL https://raw.githubusercontent.com/Open-RSC/Docker-Home/master/Linux_Cloner.sh | bash + +# -e option instructs bash to immediately exit if any command [1] has a non-zero exit status +# We do not want users to end up with a partially working install, so we exit the script +# instead of continuing the installation with something broken + +cd / +sudo git clone https://github.com/Open-RSC/Docker-Home.git &>/dev/null +cd Docker-Home +./Linux_Installer diff --git a/Linux_Installer.sh b/Linux_Installer.sh index 380ccee..7206f3b 100755 --- a/Linux_Installer.sh +++ b/Linux_Installer.sh @@ -7,18 +7,12 @@ # # Install with this command (from your Linux machine): # -# curl -sSL https://raw.githubusercontent.com/Open-RSC/Docker-Home/master/Linux_Installer.sh | bash +# curl -sSL https://raw.githubusercontent.com/Open-RSC/Docker-Home/master/Linux_Cloner.sh | bash # -e option instructs bash to immediately exit if any command [1] has a non-zero exit status # We do not want users to end up with a partially working install, so we exit the script # instead of continuing the installation with something broken -cd / -sudo git clone https://github.com/Open-RSC/Docker-Home.git &>/dev/null -cd Docker-Home - - -clear choice="" RED=`tput setaf 1` GREEN=`tput setaf 2`