forked from qo-op/bunkerbox
AmIBootStrap ??
This commit is contained in:
parent
f53148808d
commit
b234229937
|
@ -219,9 +219,11 @@ echo "##########################################################################
|
|||
# REFRESH ${CHANNEL}'s HISTORY ~/.zen/bunkerbox/
|
||||
cp ~/.zen/bunkerbox/cache/$VUID/media/history.${CHANNEL}.json ~/.zen/bunkerbox/history.${CHANNEL}.json
|
||||
|
||||
|
||||
######################### ######################### #########################
|
||||
## CONSTRUCT 'MOA' CHANNEL PUBLICATION ZONE ```rm -Rf ~/.zen/bunkerbox/channels/${CHANNEL} to reset```
|
||||
if [[ ! -f ~/.zen/bunkerbox/homepage/tw/${CHANNEL}/index.html ]]; then
|
||||
AmIBootStrap=$(cat ~/.zen/astrXbian/A_boostrap_nodes.txt 2>/dev/null | grep $IPFSNODEID)
|
||||
if [[ ! -f ~/.zen/bunkerbox/homepage/tw/${CHANNEL}/index.html && $AmIBootStrap ]]; then
|
||||
mkdir -p ~/.zen/bunkerbox/homepage/tw/${CHANNEL}/
|
||||
mkdir -p ~/.zen/bunkerbox/channels/${CHANNEL}/
|
||||
# New tiddlywiki with moa key
|
||||
|
|
Loading…
Reference in New Issue