This commit is contained in:
qo-op 2020-05-08 04:06:46 +02:00
parent 05cca78182
commit 959852e046
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ echo $timebar
# #SWARM0 DEV MODE
# ACTIVATE 5 MN "git pull" update
[[ $(($minute % 5)) == 0 ]] && sleep $((1 + RANDOM % 12)) && git pull
[[ $(($minute % 5)) == 0 ]] && sleep $((1 + RANDOM % 12)) && cd $MY_PATH && git pull
# CORRECT PATH

View File

@ -67,7 +67,7 @@ geopointlon=$(curl -s ${CESIUM}/user/profile/${g1pub} | jq '._source.geoPoint.lo
[[ $geopointlon != null ]] && sbotc publish '{"type":"cesium_geoPoint.lon","text":"'"$geopointlon"'"}'
# GET Cesium+ Avatar image
curl -s ${CESIUM}/user/profile/${g1pub} | jq '._source.avatar._content' | sed 's/\"//g' | base64 -d > "/tmp/avatar.png"
curl -s ${CESIUM}/user/profile/${g1pub} | jq -r '._source.avatar._content' | base64 -d > "/tmp/avatar.png"
## PUBLISH ABOUT MESSAGE
##############################################