diff --git a/zen/wordpress_channel.sh b/zen/wordpress_channel.sh index c9867a5..99d5eec 100755 --- a/zen/wordpress_channel.sh +++ b/zen/wordpress_channel.sh @@ -45,13 +45,13 @@ do cd /var/www/wordpress/ isWPuser=$(wp user list | grep "$xzuid") wp post create --post_author="$xzuid" --post_content="

$title

" --post_title="$title" --post_excerpt="$g1pubsource" --tags_input="$genres" --porcelain - # REPLY done=1 + # REPLY IN ~/.zen/ipfs/.$ipfnodesource/astroport/wordpress/$mediakey/done responsedir="$(echo "$wpcall" | sed 's/ipfs_swarm/ipfs/g')" mkdir -p $responsedir echo "1" > $responsedir/done fi ## I am the destination of that "done / not todo" wpcall - [[ $isdone && ! $istodo ]] && echo rm -Rf ~/.zen/ipfs/.$ipfnodesource/astroport/wordpress/$mediakey/done + [[ $isdone && ! $istodo ]] && echo rm -Rf ~/.zen/ipfs/.$ipfnodesource/astroport/wordpress/$mediakey else ## I am the source of that "done" wpcall remove "do"