From 860d5c75d7133db9d3cd59b68d0881fb440d2465 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 2 Sep 2021 20:15:34 +0200 Subject: [PATCH] accept that the lates express is not numbered --- process/cron/run-eressea.cron | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/process/cron/run-eressea.cron b/process/cron/run-eressea.cron index f29c1baa9..854b80b8f 100755 --- a/process/cron/run-eressea.cron +++ b/process/cron/run-eressea.cron @@ -47,6 +47,11 @@ if [ ! -s "$ERESSEA/game-$GAME/data/$TURN.dat" ]; then echo "server did not create data for turn $TURN in game $GAME" exit 3 fi +if [ ! -f "express-$TURN.txt" ]; then + if [ -f express.txt ]; then + mv express.txt "express-$TURN.txt" + fi +fi echo "sending reports for game $GAME, turn $TURN" "$BIN/compress.sh" "$GAME" "$TURN" "$BIN/sendreports.sh" "$GAME"