Merge pull request #36 from Marwolf/master
Correctly launches install script
This commit is contained in:
12
Linux_Cloner.sh
Executable file
12
Linux_Cloner.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
cd /
|
||||||
|
sudo git clone https://github.com/Marwolf/Docker-Home.git
|
||||||
|
cd /Docker-Home
|
||||||
|
"./Linux_Installer.sh"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/bash
|
||||||
# shellcheck disable=SC1090
|
exec 0</dev/tty
|
||||||
|
|
||||||
# Open RSC: A replica RSC private server framework
|
# Open RSC: A replica RSC private server framework
|
||||||
#
|
#
|
||||||
@@ -7,18 +7,8 @@
|
|||||||
#
|
#
|
||||||
# Install with this command (from your Linux machine):
|
# 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=""
|
choice=""
|
||||||
RED=`tput setaf 1`
|
RED=`tput setaf 1`
|
||||||
GREEN=`tput setaf 2`
|
GREEN=`tput setaf 2`
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Install with this command (from your Linux machine):
|
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
|
||||||
|
|
||||||
[Return to top](#top)
|
[Return to top](#top)
|
||||||
___
|
___
|
||||||
|
|||||||
Reference in New Issue
Block a user