forked from axiom-team/astrXbian
rm -f /tmp/liking_me ## FILE WILL BE REFRESHED
This commit is contained in:
parent
e2e4c61aa5
commit
2d6acc3735
|
@ -32,11 +32,15 @@ echo $(date)
|
|||
########################################################################
|
||||
# Let's look for Friends and "IPFS swarm connect" with them
|
||||
########################################################################
|
||||
rm -f /tmp/liking_me ## FILE WILL BE REFRESHED
|
||||
|
||||
# Check liking_me station in my swarm FRIENDS
|
||||
for swarm_frof in $(ls ~/.zen/ipfs_swarm/.*/FRIENDS/$G1PUB/stars.level | cut -d '/' -f 6 | cut -d '.' -f 2); ## FROM IPFS
|
||||
do
|
||||
liking_me=$(~/.zen/astrXbian/zen/tools/ipfs_to_g1.py $swarm_frof)
|
||||
## PUBLISH /tmp/liking_me for ./tools/add_externIP_to_ipfstryme.sh
|
||||
echo "$liking_me" >> /tmp/liking_me
|
||||
|
||||
do_I_like=$(ls ~/.zen/ipfs/.$IPFSNODEID/FRIENDS/$liking_me 2>/dev/null)
|
||||
# Get Gchange "liking_me" people list (made by gchange_INIT.sh)
|
||||
# [[ ! -f /tmp/liking_me ]] && ~/.zen/astrXbian/zen/tools/timeout.sh -t 12 ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" stars | jq -r '.likes[].issuer' > /tmp/liking_me.try && [ ! -s /tmp/liking_me.try ] && cp /tmp/liking_me.try /tmp/liking_me && rm /tmp/liking_me.try
|
||||
|
|
|
@ -427,9 +427,9 @@ then
|
|||
|
||||
fi
|
||||
|
||||
########################################################################
|
||||
# PUBLISH YOUTUBE video to /astroport/wordpress/
|
||||
########################################################################
|
||||
#########################################################################
|
||||
# PUBLISH YOUTUBE video to /astroport/wordpress/ DATA NOT USED ANY MORE... semaphore à régler
|
||||
#########################################################################
|
||||
if [[ "${CAT}" == "youtube" ]]
|
||||
then
|
||||
## CREATE astroport call to Astroport/Wordpress stations
|
||||
|
|
Loading…
Reference in New Issue