Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

installer: Do not initialize db with --no-init-db.

Alex Vandiver5b7be7ba5dc8
diff --git a/scripts/lib/install b/scripts/lib/install
index 8bef0a2a4e0..76e7c1f621e 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -402,7 +402,7 @@ EOF
"$ZULIP_PATH"/scripts/setup/configure-rabbitmq
fi
-if [ "$has_postgres" = 0 ]; then
+if [ "$has_postgres" = 0 ] && [ -z "$NO_INIT_DB" ]; then
"$ZULIP_PATH"/scripts/setup/postgres-init-db
fi