jackz revised this gist 10 months ago. Go to revision
No changes
Jackz revised this gist 4 years ago. Go to revision
1 file changed, 10 insertions
update.sh(file created)
| @@ -0,0 +1,10 @@ | |||
| 1 | + | #!/bin/bash | |
| 2 | + | APP_ID= | |
| 3 | + | if test -f "update.lock"; then | |
| 4 | + | echo "update.lock found, cancelling" | |
| 5 | + | exit 1 | |
| 6 | + | fi | |
| 7 | + | touch update.lock | |
| 8 | + | trap '{ rm -f -- "update.lock"; }' EXIT | |
| 9 | + | /home/steam/steamcmd/steamcmd.sh +login anonymous +force_install_dir $PWD +app_update $APP_ID validate +quit | |
| 10 | + | rm update.lock | |
Newer
Older