This commit is contained in:
qo-op 2020-12-08 02:39:04 +01:00
parent be23bccef8
commit f8966720ab
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ do
done
echo "PUBLISHING MY OWN /home/$YOU/.zen/ipfs/ to SWARM"
echo "$IPFSNODEID PUBLISHING /home/$YOU/.zen/ipfs/ to SWARM"
[[ ! -d /home/$YOU/.zen/ipfs ]] && echo "ERROR : /home/$YOU/.zen/ipfs/ NOT FOUND" && exit 1
IWALLETS=$(ipfs add -rHq /home/$YOU/.zen/ipfs | tail -n 1)
NODEIPNS=$(ipfs name publish --quieter /ipfs/$IWALLETS)

View File

@ -6,7 +6,7 @@
########################################################################
# Transfert ~/astroport/files to IPFS and create Astroport(pastebin) index for Xbian/Vstream
########################################################################
[[ -f ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid ]] && echo "ERROR no _xbian.zuid" && exit 1
[[ ! -f ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid ]] && echo "ERROR no _xbian.zuid" && exit 1
# GET xbian-ZUID
XZUID=$(cat ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid)