Fixed small bug in run script

This commit is contained in:
Ben Busby 2020-04-05 18:09:23 -06:00
parent 066c253c4d
commit 044559eba9

4
run.sh
View File

@ -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