From cc227a0c22c82194522ab70eb1745dbf42870f46 Mon Sep 17 00:00:00 2001 From: qo-op Date: Mon, 22 Feb 2021 02:49:20 +0100 Subject: [PATCH] TRYING TO PIN : $astrofile --- zen/gchange_INIT.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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