TRYING TO PIN : $astrofile
This commit is contained in:
parent
afcc1fa26f
commit
cc227a0c22
|
@ -111,9 +111,8 @@ do
|
||||||
echo "PINNING ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ??"
|
echo "PINNING ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ??"
|
||||||
if [[ ! -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} && "${astrofile}" != "" ]];
|
if [[ ! -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} && "${astrofile}" != "" ]];
|
||||||
then
|
then
|
||||||
echo "PIN : $astrofile"
|
echo "TRYING TO PIN : $astrofile"
|
||||||
ipfs ls ${astrofile}
|
ipfs ls ${astrofile} && ipfs pin add /ipfs/$astrofile && mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/ && echo "PUBLISHING MY PIN" || continue
|
||||||
ipfs pin add /ipfs/$astrofile && mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/ && echo "PUBLISHING MY PIN"
|
|
||||||
[[ -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ]] && echo "0" > ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/$G1PUB && break
|
[[ -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} ]] && echo "0" > ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile}/$G1PUB && break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue