fix SKIP_SUPERUSER check

This commit is contained in:
Yusuf Tran 2021-10-07 12:26:18 +01:00
parent 6a52a48b71
commit f951adcb5e
No known key found for this signature in database
GPG key ID: EABA08765774E522

View file

@ -49,7 +49,7 @@ if ! ./manage.py migrate --check >/dev/null 2>&1; then
fi
# Create Superuser if required
if [ "$SKIP_SUPERUSER" == "true" ]; then
if [ "$SKIP_SUPERUSER" = "true" ]; then
echo "↩️ Skip creating the superuser"
else
if [ -z ${SUPERUSER_NAME+x} ]; then