This commit is contained in:
fred 2023-04-17 01:09:36 +02:00
parent cb0e58d395
commit 7baeb14ca2
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ while true; do
## Local / IPNS size differ => FUSION LOCAL OVER ONLINE & PUBLISH
[[ ${BSIZE} != ${NSIZE} ]] \
&& cp -Rf ~/.zen/tmp/_${IPFSNODEID}/* ~/.zen/tmp/${IPFSNODEID}/
&& rm -Rf ~/.zen/tmp/_${IPFSNODEID}
&& cp -Rf ~/.zen/tmp/_${IPFSNODEID}/* ~/.zen/tmp/${IPFSNODEID}/ \
&& rm -Rf ~/.zen/tmp/_${IPFSNODEID} \
&& ROUTING=$(ipfs add -rwq ~/.zen/tmp/${IPFSNODEID}/* | tail -n 1 ) \
&& echo "BALISE STATION /ipns/${IPFSNODEID} INDEXES = $NSIZE octets" \
&& ipfs name publish --allow-offline /ipfs/${ROUTING}