Remove sudo su call
This commit is contained in:
parent
a4d33fe8c3
commit
1ac01d2abd
@ -5,8 +5,5 @@ SCRIPT_DIR="${BASE_DIR}/Scripts/"
|
|||||||
|
|
||||||
[[ -z "${BASE_DIR}" ]] && echo "No base directory provided in arg 1" && exit 1
|
[[ -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"
|
sudo /bin/bash "${SCRIPT_DIR}/install-requirements.bash"
|
||||||
sudo /bin/bash "${SCRIPT_DIR}/install-steamcmd.bash"
|
sudo /bin/bash "${SCRIPT_DIR}/install-steamcmd.bash"
|
||||||
|
Loading…
Reference in New Issue
Block a user