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: Prevent flags which conflict with `--no-overwrite-settings`.

Alex Vandiverb165b4144de9
diff --git a/scripts/lib/install b/scripts/lib/install
index e4c006ec93a..7424ee4096c 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -70,6 +70,14 @@ if [ -n "$SELF_SIGNED_CERT" ] && [ -n "$USE_CERTBOT" ]; then
exit 1
fi
+if [ -n "$POSTGRES_MISSING_DICTIONARIES" ] && [ -n "$NO_OVERWRITE_SETTINGS" ]; then
+ set +x
+ echo "error: --postgres-missing-dictionaries and --no-overwrite-settings are incompatible" >&2
+ echo >&2
+ usage >&2
+ exit 1
+fi
+
if [ -z "$EXTERNAL_HOST" ] || [ -z "$ZULIP_ADMINISTRATOR" ]; then
if [ -n "$USE_CERTBOT" ] || [ -z "$NO_INIT_DB" ]; then
usage >&2