--progress

This commit is contained in:
qo-op 2021-02-22 02:56:08 +01:00
parent e0fb2274df
commit f173ed0902
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ do
if [[ ! -d ~/.zen/ipfs/.${IPFSNODEID}/PIN/${astrofile} && "${astrofile}" != "" ]];
then
echo "TRYING TO PIN : $astrofile"
~/.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
~/.zen/astrXbian/zen/tools/timeout.sh -t 5 ipfs ls ${ipfsfile} && ipfs pin add --progress /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