From 5441877e2cf53e8f7ef74dee18440114408aa7aa Mon Sep 17 00:00:00 2001 From: qo-op Date: Sun, 4 Apr 2021 21:56:35 +0200 Subject: [PATCH] ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE}/do --- zen/new_file_in_astroport.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index a84fe1c..bbeb6df 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -273,7 +273,10 @@ fi if [[ "${CAT}" == "youtube" ]] then ## CREATE astroport call to Astroport/Wordpress stations - [[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE} ]] && mkdir -p ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE} + if [[ ! -d ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE} ]]; then + mkdir -p ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE} + echo "0" > ~/.zen/ipfs/.$IPFSNODEID/astroport/wordpress/${INDEXPREFIX}${REFERENCE}/do + fi fi ########################################################################