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

pull/1/head
ansuz 6 years ago
parent dcabff7c08
commit 4ff7683f23

@ -2,9 +2,9 @@
# Creating customize folder # Creating customize folder
mkdir -p customize mkdir -p customize
[ -z "$(ls -A customize)" ] && echo "Creating customize folder" \
&& cp -R customize.dist/* customize/ \ # Copying default config
&& cp config.example.js customize/config.js [ ! -h customize/config.js ] && echo "Creating config.js" && cp config.example.js customize/config.js
# Linking config.js # Linking config.js
[ ! -h config.js ] && echo "Linking config.js" && ln -s customize/config.js config.js [ ! -h config.js ] && echo "Linking config.js" && ln -s customize/config.js config.js

Loading…
Cancel
Save