do not looze qo-op
This commit is contained in:
parent
6d0b0adcaf
commit
fd59f75d39
|
@ -126,7 +126,7 @@ echo "##########################################################################
|
|||
|
||||
# qo-op get latest history.json
|
||||
if [[ "$(cat ~/.zen/bunkerbox/choice 2>/dev/null)" == "qo-op" ]]; then
|
||||
IPNSL="/ipns/$(cat ~/.zen/bunkerbox/qo-op)"
|
||||
IPNSL="/ipns/$(ipfs key list -l | grep 'qo-op' | cut -f 1 -d ' ')"
|
||||
ipfs get -o ~/.zen/bunkerbox/history_qo-op.json $IPNSL/history.json # Get actual IPNS qo-op history.json
|
||||
[[ $(cat ~/.zen/bunkerbox/history_qo-op.json | jq .Videos[].link | grep $VUID) ]] && echo "VIDEO DEJA DANS IPFS... CONTINUE" && echo && cp ~/.zen/bunkerbox/history_qo-op.json ~/.zen/bunkerbox/history.json && continue
|
||||
# JSON FUSION
|
||||
|
|
Loading…
Reference in New Issue