INITIALISE manifest
This commit is contained in:
parent
52040dae78
commit
b2de15e0d5
|
@ -56,11 +56,6 @@ if [[ -d ~/.ssb ]]; then
|
|||
[[ -L ~/.ssb ]] && rm ~/.ssb
|
||||
[[ -d ~/.ssb_astroport ]] && ln -s ~/.ssb_astroport ~/.ssb
|
||||
|
||||
# INITIALISE manifest
|
||||
printf '{"manifest":"sync"}' > ~/.ssb/manifest.json
|
||||
ssb-server start &
|
||||
sbotc -t async manifest > ~/.ssb/manifest.json
|
||||
|
||||
else
|
||||
echo "You must remove '~/.ssb' before running $ME";
|
||||
exit 1;
|
||||
|
@ -144,4 +139,10 @@ login (salt) : $salt
|
|||
password : $pepper
|
||||
"
|
||||
|
||||
# INITIALISE manifest
|
||||
[[ $ssbSERVER ]] && [[ ! -f ~/.ssb/manifest.json ]] && printf '{"manifest":"sync"}' > ~/.ssb/manifest.json
|
||||
[[ $ssbSERVER ]] && ssb-server start &
|
||||
[[ $ssbSERVER ]] && [[ ! -f ~/.ssb/manifest.json ]] && sbotc -t async manifest > ~/.ssb/manifest.json
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue