#!/bin/bash
APPID=222860
if test -f "update.lock"; then
	echo "update.lock found, cancelling"
	exit 1
fi
touch update.lock
trap '{ rm -f -- "update.lock"; }' EXIT
/home/steam/steamcmd/steamcmd.sh +force_install_dir $PWD +login anonymous +app_update $APPID validate +quit
rm update.lock