From a428d6551f87d678295921c49ecdedced59682db Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 4 Jan 2024 13:01:36 +0100 Subject: [PATCH] whatr a strange error --- tools/RSS2UPlanetTW.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/RSS2UPlanetTW.sh b/tools/RSS2UPlanetTW.sh index 8309bb09..fd9a46f9 100755 --- a/tools/RSS2UPlanetTW.sh +++ b/tools/RSS2UPlanetTW.sh @@ -66,9 +66,8 @@ while read title; do --output ~/.zen/tmp/${MOATS}/${SECTOR} --render '$:/core/save/all' "${SECTOR}.html" 'text/plain' [[ -s ~/.zen/tmp/${MOATS}/${SECTOR}/${SECTOR}.html ]] \ - && rm ${INDEX} \ - && mv ~/.zen/tmp/${MOATS}/${SECTOR}/${SECTOR}.html ${INDEX} \ - && ((gloops++)) \ + && echo "UPDATING INDEX" && rm ${INDEX} \ + && mv ~/.zen/tmp/${MOATS}/${SECTOR}/${SECTOR}.html ${INDEX} && ((gloops++)) \ && echo "SECTOR (${gloops}) : ${title}" \ || { echo "ERROR. TW did not ingest ~/.zen/tmp/${MOATS}/${SECTOR}/NEW.json" && break; }