From cfff8c444eef90d04b2ff52757ecd39d98ca79f4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 29 Nov 2021 11:46:37 +0100 Subject: Fix install script for postgres 13 --- install/ishtar-prepare-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance index c07072eee..c47881bad 100755 --- a/install/ishtar-prepare-instance +++ b/install/ishtar-prepare-instance @@ -221,7 +221,7 @@ EOF echo " * Checking database $DB_NAME" if ! psql -l | grep -qs "$DB_NAME"; then echo " - not present, creating" - createuser --echo --adduser --createdb --encrypted $DB_NAME + createuser --echo --createdb --encrypted $DB_NAME psql --command "ALTER USER \""$DB_NAME"\" with password '"$DB_PASSWORD"';" createdb -T template0 --echo --owner $DB_NAME --encoding UNICODE $DB_NAME psql -d $DB_NAME -c "CREATE EXTENSION postgis;" -- cgit v1.2.3