customize/ should not be a copy of customize.dist/

This commit is contained in:
ansuz 2019-03-19 13:34:03 +01:00
parent dcabff7c08
commit 4ff7683f23

View file

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