From f1b48fb7d1bfd3d0941af3d294cc59bfc74396f2 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 16 Oct 2023 20:56:44 +0200 Subject: [PATCH] si if --- RUNTIME/UPLANET.refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 66acd9e8..6eb727f1 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -87,7 +87,7 @@ mkdir ~/.zen/tmp/${MOATS} UREFRESH="${HOME}/.zen/tmp/${MOATS}/${UMAP}/${LAT}_${LON}/UMAP.refresher" ALLNODES=($(cat ${UREFRESH} 2>/dev/null)) # ${ALLNODES[@]} - [[ ${ALLNODES[@]} == "" ]]; then + if [[ ${ALLNODES[@]} == "" ]]; then STRAPS=($(ipfs bootstrap | rev | cut -f 1 -d'/' | rev)) ## ${STRAPS[@]} for STRAP in ${STRAPS[@]}; do echo ${STRAP} >> ${UREFRESH} ## FILL UMAP.refresher file with all STRAPS