diff --git a/zen/ssb_INIT.sh b/zen/ssb_INIT.sh index 7228b54..6d32efe 100755 --- a/zen/ssb_INIT.sh +++ b/zen/ssb_INIT.sh @@ -88,12 +88,12 @@ $ssbpub -- sbot publish -- " -sbot publish --type about --about $ssbpub --description "[Astroport](https://astroport.com) Station [$ipfsnodeid](http://localhost:8080/ipns/$ipfsnodeid) - G1 Wallet $g1pub" --name "$USER@$(cat /etc/hostname)" --image "$id" +sbot publish --type about --about $ssbpub --description "[Astroport Node](https://astroport.com) [$ipfsnodeid](http://localhost:8080/ipns/$ipfsnodeid) - Wallet $g1pub - Use your KEY ~/.ssb/secret.dunikey in [Cesium](https://cesium.app)" --name "Station $USER@$(cat /etc/hostname)" --image "$id" echo " _ _ / \|_) _ _ _| _ -\_X| \ (_(_)(_|(/_ +\_X| \ (_(_)(_|(/_ ! AVATAR $g1pub @@ -101,7 +101,7 @@ $g1pub -- sbotc publish -- " -sbotc publish '{"type":"post","text":"[G1SSB_Wallet.png]('"$id"')\nUse https://cesium.app to send payment.\nComment your transaction with '"'Zen'"' to make ZenTag...","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}' +[[ ! $(file "/tmp/avatar.png" | grep 'PNG') ]] && sbotc publish '{"type":"post","text":"[G1SSB_Wallet.png]('"$id"')\nUse https://cesium.app to send payment.\nComment your transaction with '"'Zen'"' to create ZenTags...","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}' echo "