Restore writing a empty bash script to bin
This commit is contained in:
parent
ee0f7c4d4f
commit
0cbcda179f
@ -18,7 +18,10 @@ 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
|
||||
#!/bin/bash
|
||||
${STEAM_DIRECTORY}/steamcmd.sh "\${@}"
|
||||
__EOF__
|
||||
|
||||
chmod 755 /usr/local/bin/steamcmd
|
||||
/usr/local/bin/steamcmd +quit
|
||||
|
Loading…
Reference in New Issue
Block a user