Remove sudo su call

This commit is contained in:
Price Hiller 2021-12-25 23:53:38 -06:00
parent a4d33fe8c3
commit 1ac01d2abd

View File

@ -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"