This commit is contained in:
fred 2022-08-23 19:34:47 +02:00
parent e991394f16
commit d10631c85f
2 changed files with 4 additions and 5 deletions

View File

@ -89,7 +89,7 @@ select fav in "${choices[@]}"; do
"EXPORTER VISA") "EXPORTER VISA")
echo "EXPORT IDENTITE ASTRONAUTE" echo "EXPORT IDENTITE ASTRONAUTE"
du -h ~/.zen/game/players/.current/ du -h ~/.zen/game/players/.current/
echo "MANUAL BACKUP ZIP ~/.zen/game/players/.$PLAYER/" echo "MANUAL BACKUP ZIP ~/.zen/game/players/$PLAYER/"
break break
;; ;;

View File

@ -29,13 +29,12 @@ do
mkdir -p ~/.zen/tmp/work mkdir -p ~/.zen/tmp/work
echo "Getting latest online TW..." echo "Getting latest online TW..."
ipfs --timeout 12s get -o ~/.zen/tmp/work/ /ipns/$voeuns ipfs --timeout 12s get -o ~/.zen/tmp/work /ipns/$voeuns
if [[ ! -f ~/.zen/tmp/work/index.html ]]; then if [[ ! -f ~/.zen/tmp/work/index.html ]]; then
echo "UNAVAILABLE WISH! Removing $W $voeu" echo "UNAVAILABLE WISH! If you want to remove $W $voeu"
ipfs key rm $voeu echo "ipfs key rm $voeu && rm -Rf ~/.zen/game/world/$voeu"
rm -Rf ~/.zen/game/world/$voeu
continue continue
fi fi