13 lines
293 B
Bash
13 lines
293 B
Bash
|
#!/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"
|