mirror of
https://github.com/status-im/codimd.git
synced 2025-02-18 17:49:45 +00:00
Copy config only when file not exist
This commit is contained in:
parent
5dfa83d350
commit
934ed7c0d9
@ -18,9 +18,17 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "copy config files"
|
echo "copy config files"
|
||||||
|
if [ ! -f config.json ]; then
|
||||||
cp config.json.example config.json
|
cp config.json.example config.json
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f publis/js/common.js ]; then
|
||||||
cp public/js/common.js.example public/js/common.js
|
cp public/js/common.js.example public/js/common.js
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f .sequelizerc ]; then
|
||||||
cp .sequelizerc.example .sequelizerc
|
cp .sequelizerc.example .sequelizerc
|
||||||
|
fi
|
||||||
|
|
||||||
echo "install npm and bower packages"
|
echo "install npm and bower packages"
|
||||||
npm install && bower install
|
npm install && bower install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user