mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Another reordering of psql arguments for FreeBSD support.
This commit is contained in:
parent
77a82ede85
commit
e9a04869fd
@ -68,7 +68,7 @@ create_db_user "${AWL_DBAUSER}"
|
|||||||
create_db_user "${AWL_APPUSER}"
|
create_db_user "${AWL_APPUSER}"
|
||||||
|
|
||||||
# FIXME: Need to check that the database was actually created.
|
# FIXME: Need to check that the database was actually created.
|
||||||
if ! createdb --encoding UTF8 "${DBNAME}" --template template0 --owner "${AWL_DBAUSER}"; then
|
if ! createdb --encoding UTF8 --template template0 --owner "${AWL_DBAUSER}" "${DBNAME}" ; then
|
||||||
echo "Unable to create database"
|
echo "Unable to create database"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user