From 280d39ac4e7a2945b79f1793d47df65367bbc6d6 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 26 Dec 2021 00:15:41 -0600 Subject: [PATCH] Remove softlink, instead use bash script to active steamcmd.sh This is because steamcmd requires some things local to its own script dir to work properly, soft linking makes these resources inacessible on its relative path --- Scripts/install-steamcmd.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/install-steamcmd.bash b/Scripts/install-steamcmd.bash index 5fa655e..f4490b3 100644 --- a/Scripts/install-steamcmd.bash +++ b/Scripts/install-steamcmd.bash @@ -9,7 +9,9 @@ cd "${STEAM_DIRECTORY}" curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - chmod -R 755 "${STEAM_DIRECTORY}" -ln -s "${STEAM_DIRECTORY}/steamcmd.sh" /usr/local/bin/steamcmd +cat << '__EOF__' > /usr/local/bin/steamcmd +${STEAM_DIRECTORY}/steamcmd.sh "${@}" +__EOF__ chmod 755 /usr/local/bin/steamcmd /usr/local/bin/steamcmd +quit