| 1 | #!/bin/bash |
| 2 | APPID=222860 |
| 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 +force_install_dir $PWD +login anonymous +app_update $APPID validate +quit |
| 10 | rm update.lock |
jackz / steamcmd update script
Last active 2 months ago
Updates game folder with steamcmd, with locking
Revision e3e96f3165f6980ddcebf9c05464d5bd83934f77