customize/ should not be a copy of customize.dist/
This commit is contained in:
parent
dcabff7c08
commit
4ff7683f23
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue