aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install-as-user
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install-as-user')
-rwxr-xr-xbin/install-as-user6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/install-as-user b/bin/install-as-user
index 2730fe404..e42401758 100755
--- a/bin/install-as-user
+++ b/bin/install-as-user
@@ -98,12 +98,8 @@ if ! psql -l | egrep "^ *$DB_NAME *\|" > /dev/null
then
createdb --owner "$UNIX_USER" "$DB_NAME"
echo 'CREATE LANGUAGE plpgsql;' | psql -U "$UNIX_USER" "$DB_NAME" || true
- psql -U "$UNIX_USER" "$DB_NAME" < "$REPOSITORY"/db/schema.sql
- psql -U "$UNIX_USER" "$DB_NAME" < "$REPOSITORY"/db/alert_types.sql
- psql -U "$UNIX_USER" "$DB_NAME" < "$REPOSITORY"/db/generate_secret.sql
-else
- bin/update-schema --commit
fi
+bin/update-schema --commit
echo $DONE_MSG
# Generate po and mo files (these invocations taken from Kagee's script):