From 06024545c8b4158085f2bb511056e5be85a2c4e6 Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 20 Mar 2024 11:35:31 +0100 Subject: [PATCH] # SEARCH for TODATENS in SWARM then LOCAL --- RUNTIME/PLAYER.refresh.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index 5496280f..f506813c 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -239,7 +239,10 @@ for PLAYER in ${PLAYERONE[@]}; do SLON="${LON::-1}" RLAT="$(echo ${LAT} | cut -d '.' -f 1)" RLON="$(echo ${LON} | cut -d '.' -f 1)" + ## SEARCH for TODATENS in SWARM then LOCAL MYNS=$(cat ~/.zen/tmp/swarm/12D*/UPLANET/__/_${RLAT}_${RLON}/_${SLAT}_${SLON}/_${LAT}_${LON}/TODATENS | tail -n 1) + [[ $MYNS == "" ]] \ + && MYNS=$(cat ~/.zen/tmp/${IPFSNODEID}/UPLANET/__/_${RLAT}_${RLON}/_${SLAT}_${SLON}/_${LAT}_${LON}/TODATENS) # EXTRACT "${G1PUB}:${DEMAINDATE}:${NEXTNS}" if [[ ${MYNS} != "" ]]; then echo "UMAP NEXTNS"