rm ~/.zen/game/players/localhost/latest

This commit is contained in:
fred 2022-12-31 20:17:06 +01:00
parent 87a41cf103
commit aa3f33b304
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ while true; do
echo "UPDATING CODE git pull > ~/.zen/tmp/.lastpull"
echo "$HTTPCORS" > ~/.zen/tmp/.lastpull
git pull >> ~/.zen/tmp/.lastpull
rm ~/.zen/game/players/localhost/latest
(cat ~/.zen/tmp/.lastpull | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && continue
fi