publish only if chain is different

This commit is contained in:
qo-op 2021-05-23 00:09:36 +02:00
parent 8446c9cca7
commit 2a0354a17d
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ if [[ "$OLDCHAIN" != "$MIPFS" ]] # MODIFY CHAIN only if something was changed
then
echo "$(date -u +%s%N | cut -b1-13)" > ~/.zen/ipfs/.${IPFSNODEID}/.timestamp
echo $MIPFS > ~/.zen/ipfs/.${IPFSNODEID}/.chain
NODEIPNS=$(ipfs name publish --quieter /ipfs/$MIPFS)
fi
NODEIPNS=$(ipfs name publish --quieter /ipfs/$MIPFS)
########################################################################