TRYING TO PIN : $astrofile

This commit is contained in:
qo-op 2021-02-22 02:49:20 +01:00
parent afcc1fa26f
commit cc227a0c22
1 changed files with 2 additions and 3 deletions

View File

@ -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