docker: bugfix wrong detection of demo
This commit is contained in:
parent
71f68e2d4b
commit
ce9a69d6f7
|
@ -30,7 +30,7 @@ deploy() {
|
|||
# TODO: one error on add_user, and you don't add user anymore
|
||||
./manage.py add_user "${INIT_ORG}" "${INIT_USER}" "${INIT_PASSWD}" "${ADMIN}" "${PREDEFINED_TOKEN}"
|
||||
|
||||
if [ "${DEMO:-}" ]; then
|
||||
if [ "${DEMO:-}" = 'y' ]; then
|
||||
./manage.py up_snapshots example/snapshots/ "${INIT_USER}"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue