forked from axiom-team/astrXbian
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} ??"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue