From 95349e4b5582991ec9b089da2b6ab660fac9e430 Mon Sep 17 00:00:00 2001 From: tycrek Date: Wed, 14 Jul 2021 17:10:05 -0600 Subject: [PATCH] fixed compacted script --- install/docker-linux.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install/docker-linux.sh b/install/docker-linux.sh index e8ac58d..ebb4d9a 100755 --- a/install/docker-linux.sh +++ b/install/docker-linux.sh @@ -9,7 +9,12 @@ mkdir -p ./uploads/thumbnails/ mkdir -p ./share/ # Ensure that files config.json, auth.json, & data.json exist -for value in config.json auth.json data.json do if [ ! -f $value ]; then touch $value; fi; done +for value in config.json auth.json data.json +do + if [ ! -f $value ]; then + touch $value + fi +done # Wait for user to confirm echo "Continuing will run docker-compose. Continue? (Press Ctrl+C to abort)"