From 044559eba95087148146fb6c46b0f9c82c2112c6 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Sun, 5 Apr 2020 18:09:23 -0600 Subject: [PATCH] Fixed small bug in run script --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index 2878c2a..098a6dd 100755 --- a/run.sh +++ b/run.sh @@ -8,8 +8,8 @@ if [[ -z "$NOJS" ]]; then fi # Create config json if it doesn't exist -if [[ -f $SCRIPT_DIR/config.json ]]; then - echo "{}" > $SCRIPT_DIR/config.json +if [[ ! -f $SCRIPT_DIR/app/static/config.json ]]; then + echo "{}" > $SCRIPT_DIR/app/static/config.json fi pkill flask