Configured to run userless, only needs sudo

This commit is contained in:
Price Hiller 2021-12-25 23:39:10 -06:00
parent 2cb41e0eff
commit 15f23de589

View File

@ -4,15 +4,6 @@ set -e
STEAM_DIRECTORY="${1:-"/usr/local/share/steam/"}"
if which apt > /dev/null 2>&1; then
sudo apt -y install lib32gcc1
elif which dnf > /dev/null 2>&1; then
dnf install -y glibc.i686 libstdc++.i686 tmux
else
echo "Unable to use either dnf or apt..., exiting" >&2
exit 1
fi
mkdir -p "${STEAM_DIRECTORY}"
cd "${STEAM_DIRECTORY}"
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -