push
This commit is contained in:
parent
0122502ea3
commit
8c1fa2d2e5
|
@ -51,8 +51,12 @@ do
|
||||||
rm -Rf ~/.zen/tmp/work
|
rm -Rf ~/.zen/tmp/work
|
||||||
|
|
||||||
if [[ -d ~/.zen/game/players/$PLAYER/voeux/$voeu ]]; then
|
if [[ -d ~/.zen/game/players/$PLAYER/voeux/$voeu ]]; then
|
||||||
echo "Commande de suppression du Voeu$W (A effacer manuellement de votre TW"
|
echo "==========================="
|
||||||
echo "ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu && rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu"
|
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
|
# read QUOI
|
||||||
# [[ "$QUOI" != "" ]] && ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu && rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu && echo "SUPRESSION OK"
|
# [[ "$QUOI" != "" ]] && ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu && rm -Rf ~/.zen/game/players/$PLAYER/voeux/$voeu && echo "SUPRESSION OK"
|
||||||
fi
|
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
|
CHECK=$(ls ~/.zen/tmp/astro/) && mv ~/.zen/tmp/astro/$CHECK ~/.zen/tmp/astro/index.html
|
||||||
if [ ! -f ~/.zen/tmp/astro/index.html ]; then
|
if [ ! -f ~/.zen/tmp/astro/index.html ]; then
|
||||||
echo "ERROR IPNS TIMEOUT. Using local backup..."
|
echo "ERROR IPNS TIMEOUT. Using local backup..."
|
||||||
|
continue
|
||||||
else
|
else
|
||||||
echo "Upgrade TW local copy..."
|
echo "Upgrade TW local copy..."
|
||||||
cp ~/.zen/tmp/astro/index.html ~/.zen/game/players/$PLAYER/ipfs/moa/index.html
|
cp ~/.zen/tmp/astro/index.html ~/.zen/game/players/$PLAYER/ipfs/moa/index.html
|
||||||
|
|
Loading…
Reference in New Issue