From 8c1fa2d2e57fac313ca84766169aa09ca774d9eb Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 23 Aug 2022 20:28:31 +0200 Subject: [PATCH] push --- tools/VOEUX.refresh.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/VOEUX.refresh.sh b/tools/VOEUX.refresh.sh index 11ba28a0..f4199aec 100755 --- a/tools/VOEUX.refresh.sh +++ b/tools/VOEUX.refresh.sh @@ -51,8 +51,12 @@ do rm -Rf ~/.zen/tmp/work if [[ -d ~/.zen/game/players/$PLAYER/voeux/$voeu ]]; then - echo "Commande de suppression du Voeu$W (A effacer manuellement de votre TW" - echo "ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu && rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu" + echo "===========================" + echo "Voeu$W : commande de suppression" + echo "ipfs key rm $voeu + rm -Rf ~/.zen/game/world/$voeu + rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu" + echo "===========================" # read QUOI # [[ "$QUOI" != "" ]] && ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu && rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu && echo "SUPRESSION OK" fi @@ -73,6 +77,7 @@ for PLAYER in $(ls ~/.zen/game/players/); do CHECK=$(ls ~/.zen/tmp/astro/) && mv ~/.zen/tmp/astro/$CHECK ~/.zen/tmp/astro/index.html if [ ! -f ~/.zen/tmp/astro/index.html ]; then echo "ERROR IPNS TIMEOUT. Using local backup..." + continue else echo "Upgrade TW local copy..." cp ~/.zen/tmp/astro/index.html ~/.zen/game/players/$PLAYER/ipfs/moa/index.html