diff --git a/zen/gchange_INIT.sh b/zen/gchange_INIT.sh index 76e5067..d9b43b9 100755 --- a/zen/gchange_INIT.sh +++ b/zen/gchange_INIT.sh @@ -111,9 +111,8 @@ do echo "PINNING ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ??" if [[ ! -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} && "${astrofile}" != "" ]]; then - echo "PIN : $astrofile" - ipfs ls ${astrofile} - ipfs pin add /ipfs/$astrofile && mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/ && echo "PUBLISHING MY PIN" + echo "TRYING TO PIN : $astrofile" + ipfs ls ${astrofile} && ipfs pin add /ipfs/$astrofile && mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/ && echo "PUBLISHING MY PIN" || continue [[ -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ]] && echo "0" > ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/$G1PUB && break fi done