General installer
This commit is contained in:
parent
0254d7678c
commit
20a8c20221
12
installer.bash
Normal file
12
installer.bash
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
BASE_DIR="${1}"
|
||||
SCRIPT_DIR="${BASE_DIR}/Sripts/"
|
||||
|
||||
[[ -z "${BASE_DIR}" ]] && echo "No base directory provided in arg 1" && exit 1
|
||||
|
||||
# Ensure we are root
|
||||
sudo su || exit 1
|
||||
|
||||
sudo /bin/bash "${SCRIPT_DIR}/install-requirements.bash"
|
||||
sduo /bin/bash "${SCRIPT_DIR}/install-steamcmd.bash"
|
Loading…
Reference in New Issue
Block a user