continue
This commit is contained in:
parent
a0de7fb29e
commit
da6e3bc95f
|
@ -16,7 +16,7 @@ G1PUB=$(cat ~/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
|
|||
# SOURCE: ~/.zen/ipfs/.${IPFSNODEID}/KEY/${INDEXPREFIX}${REFERENCE}/${G1PUB}/${g1node}/.ipfsid.encrypt (new_file_in_astroport.sh)
|
||||
|
||||
## AUTO PIN FRIENDS ACTIVATION
|
||||
for astrofile in $(ls -dt ~/.zen/ipfs_swarm/.12D*/KEY/*/*/${G1PUB}/.ipfsid.encrypt);
|
||||
for astrofile in $(ls -dt ~/.zen/ipfs_swarm/.12D*/KEY/*/*/${G1PUB}/.ipfsid.encrypt | shuf);
|
||||
do
|
||||
# decrypt $astrofile
|
||||
mediakey=$(echo "$astrofile" | cut -d '/' -f 8 )
|
||||
|
@ -38,6 +38,7 @@ do
|
|||
[[ -d ~/.zen/PIN/${astrofile} ]] && echo "0" > ~/.zen/PIN/${astrofile}/$G1PUB
|
||||
else
|
||||
echo "ALREADY PINNED"
|
||||
continue
|
||||
fi
|
||||
|
||||
## TOOD : DECIDE TO ACTIVATE THIS BEHAVIOUR OR NOT ?
|
||||
|
|
Loading…
Reference in New Issue