From 61cd82a13f9a35544061c7dd3bc8bf4a71015fbe Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 25 Aug 2022 07:27:39 -0500 Subject: [add] touching board names to update their mod times on write --- threadcat-write.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadcat-write.sh b/threadcat-write.sh index f0cc842..c1e4aa4 100755 --- a/threadcat-write.sh +++ b/threadcat-write.sh @@ -15,7 +15,7 @@ fi if [ ! -z "${THREAD_NAME}" ]; then - cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH" + cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && touch $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH" echo "Posted to $BOARD_NAME/$THREAD_NAME" else echo You did not provide a thread name. -- cgit v1.2.3