diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-11-29 11:46:37 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:59 +0100 |
commit | ac40e582f36bfc85baefcf0a1d9da4bd3390d313 (patch) | |
tree | 57abe278910fc40a30aae94d4bf0e7d9fc4e87d2 /install | |
parent | 428769899f679e054b1b79f40b8c0ca1b3119387 (diff) | |
download | Ishtar-ac40e582f36bfc85baefcf0a1d9da4bd3390d313.tar.bz2 Ishtar-ac40e582f36bfc85baefcf0a1d9da4bd3390d313.zip |
Fix install script for postgres 13
Diffstat (limited to 'install')
-rwxr-xr-x | install/ishtar-prepare-instance | 2 |
1 files changed, 1 insertions, 1 deletions
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;" |