From e5fd4d325c0dd194fd5567bc6a67a3d36e7cd2cf Mon Sep 17 00:00:00 2001
From: fred
Date: Mon, 31 Oct 2022 00:49:36 +0100
Subject: [PATCH] ZONE DE LIVRAISON
---
ASTROBOT/PLAYER.refresh.sh | 5 ++---
templates/index.http | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ASTROBOT/PLAYER.refresh.sh b/ASTROBOT/PLAYER.refresh.sh
index d0889f52e..8805cc253 100755
--- a/ASTROBOT/PLAYER.refresh.sh
+++ b/ASTROBOT/PLAYER.refresh.sh
@@ -12,12 +12,10 @@ ME="${0##*/}"
# Run TAG subprocess: tube, voeu
############################################
echo "## RUNNING PLAYER.refresh"
-rm ~/.zen/game/astronautes.txt
-rm ~/.zen/game/players/.current
## RUNING FOR ALL LOCAL PLAYERS
for PLAYER in $(ls ~/.zen/game/players/); do
-
+ [[ $PLAYER == '.current' ]] && continue
echo "##################################################################"
echo ">>>>> PLAYER : $PLAYER"
echo "##################################################################"
@@ -91,6 +89,7 @@ for PLAYER in $(ls ~/.zen/game/players/); do
####################
# LOCKING TW : myIP becomes _SECRET_
sed -i "s~${myIP}~_SECRET_~g" ~/.zen/tmp/astro/index.html
+ ####################
## ANY CHANGES ?
##############################################################
diff --git a/templates/index.http b/templates/index.http
index 9ec6ed251..7d0900bc0 100644
--- a/templates/index.http
+++ b/templates/index.http
@@ -43,7 +43,7 @@ Content-Type: text/html; charset=UTF-8