forked from axiom-team/astrXbian
better PIN
This commit is contained in:
parent
cc227a0c22
commit
e0fb2274df
|
@ -112,8 +112,8 @@ do
|
|||
if [[ ! -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} && "${astrofile}" != "" ]];
|
||||
then
|
||||
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
|
||||
~/.zen/astrXbian/zen/tools/timeout.sh -t 5 ipfs ls ${ipfsfile} && ipfs pin add /ipfs/${ipfsfile} && mkdir -p ~/.zen/ipfs/.${IPFSNODEID}/PIN/${ipfsfile}/ && echo "PUBLISHING MY PIN" || continue
|
||||
[[ -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${ipfsfile} ]] && echo "0" > ~/.zen/ipfs/.${IPFSNODEID}/PIN/${ipfsfile}/$G1PUB && break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue