Introduction
Introduction Statistics Contact Development Disclaimer Help
pubsub_setup: touch/create log if it does not exist yet - pubsubhubbubblub - pu…
git clone git://git.codemadness.org/pubsubhubbubblub
Log
Files
Refs
README
LICENSE
---
commit ded5d328be08e3616af355302645a98473f68bc0
parent 2aaefbe2e7c9064bcae3b626f80377666bb40aed
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 28 May 2022 13:02:26 +0200
pubsub_setup: touch/create log if it does not exist yet
Diffstat:
M pubsub_setup | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pubsub_setup b/pubsub_setup
@@ -79,8 +79,8 @@ mkdir -p "config/${feedname}"
mkdir -p "feeds/${feedname}"
mkdir -p "tmp/${feedname}"
-# general log
-touch "log"
+# create log if it does not exist.
+test -f "log" || touch "log"
if test "${dosubscribe}" = "1"; then
f="config/${feedname}/hub"
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.