summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall/ishtar-prepare-instance2
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;"