Do not create symlinks when bootstraping.

This commit is contained in:
Shuai Lin 2016-11-11 12:56:47 +08:00
parent 7814d43b12
commit 2ce0c35c1e
2 changed files with 5 additions and 1 deletions

View file

@ -3,6 +3,10 @@
set -e
set -o pipefail
if [[ $SEAFILE_BOOTSRAP != "" ]]; then
exit 0
fi
dirs=(
conf
ccnet

View file

@ -49,7 +49,7 @@ set_volumes() {
bootstrap() {
set_volumes
docker run --rm -it $volumes $image /scripts/bootstrap.py
docker run --rm -it -v SEAFILE_BOOTSRAP=1 $volumes $image /scripts/bootstrap.py
}
start() {