From c4c9929213ed8afadfbfcad5ae3bf51ecb44885e Mon Sep 17 00:00:00 2001 From: Abhilash Raj Date: Tue, 18 Apr 2017 08:25:23 -0700 Subject: [PATCH] Fix a typo bug. Checking for the wrong database URL caused the mailman core to always use an sqlite database even when another database is defined. This commit fixes that. --- core/assets/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/assets/run.sh b/core/assets/run.sh index 8331159..1dabcb7 100755 --- a/core/assets/run.sh +++ b/core/assets/run.sh @@ -33,7 +33,7 @@ function wait_for_postgres () { # # TODO: Check the database type and detect if it is up based on that. For now, # assume that postgres is being used if DATABASE_URL is defined. -if [[ ! -v DATABASES_URL ]]; then +if [[ ! -v DATABASE_URL ]]; then echo "DATABASE_URL is not defined. Using sqlite database..." export DATABASE_URL=sqlite:///mailman.db export DATABASE_TYPE='sqlite'