Fix env variable in docker entrypoint

This commit is contained in:
Chris Nagy 2021-04-10 13:50:52 +02:00
parent 0cc32e7ed7
commit cb4e738a0f

View File

@ -56,7 +56,7 @@ superuser() {
wait_for_postgres
fi
if [[ ! -z "${PAPERLESS_ADMIN_PASSWORD}" ]]
if [[ ! -z "${PAPERLESS_ADMIN_USER}" ]]
then
sudo -HEu paperless python3 manage.py manage_superuser
fi