docker: bugfix wrong detection of demo

This commit is contained in:
pedro 2024-10-16 22:05:09 +02:00 committed by Cayo Puigdefabregas
parent 67869bc6f5
commit bf47d4bc5d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ deploy() {
# TODO: one error on add_user, and you don't add user anymore # 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}" ./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}" ./manage.py up_snapshots example/snapshots/ "${INIT_USER}"
fi fi
fi fi