deplace map dans ~/.zen
This commit is contained in:
parent
02b22a5515
commit
68a0921760
|
@ -15,6 +15,15 @@ G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2) && [[ ! $G1PU
|
||||||
IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n' 2>/dev/null) && [[ "$IPFSNODEID" == "" ]] && echo 'NO IPFS RUNNING. EXIT' && exit 1
|
IPFSNODEID=$(ipfs --timeout=20s id -f='<id>\n' 2>/dev/null) && [[ "$IPFSNODEID" == "" ]] && echo 'NO IPFS RUNNING. EXIT' && exit 1
|
||||||
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport ] && echo 'ASTROPORT NOT READY' && exit 1
|
||||||
|
|
||||||
|
|
||||||
|
###### MOVE MAP FROM SELF IPNS INDEX
|
||||||
|
if [ ! -d ~/.zen/ipfs/map ]; then
|
||||||
|
mv ~/.zen/ipfs/.$IPFSNODEID/astroport/map ~/.zen/
|
||||||
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
## TODO CREATE SPECIAL IPNS KEY FOR SHARING
|
||||||
|
|
||||||
##############################################################"
|
##############################################################"
|
||||||
## DO NOT RECORD output.pdf, bu convert to jpg and link throug index.html REDIRECT
|
## DO NOT RECORD output.pdf, bu convert to jpg and link throug index.html REDIRECT
|
||||||
##############################################################"
|
##############################################################"
|
||||||
|
|
Loading…
Reference in New Issue