From 4ff7683f2342c19d39f8e1d212f62c01e2905e58 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 19 Mar 2019 13:34:03 +0100 Subject: [PATCH] customize/ should not be a copy of customize.dist/ --- container-start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container-start.sh b/container-start.sh index 8e274b19a..382e9768d 100755 --- a/container-start.sh +++ b/container-start.sh @@ -2,9 +2,9 @@ # Creating customize folder mkdir -p customize -[ -z "$(ls -A customize)" ] && echo "Creating customize folder" \ - && cp -R customize.dist/* customize/ \ - && cp config.example.js customize/config.js + +# Copying default config +[ ! -h customize/config.js ] && echo "Creating config.js" && cp config.example.js customize/config.js # Linking config.js [ ! -h config.js ] && echo "Linking config.js" && ln -s customize/config.js config.js