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.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user