customize/ should not be a copy of customize.dist/
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user