Last active 1741880082

jackz's Avatar jackz revised this gist 1741880082. Go to revision

No changes

jackz's Avatar Jackz revised this gist 1625588919. 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