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: Move missing_dictionaries configuration to with other config.

Alex Vandiverec2383dcde39
diff --git a/scripts/lib/install b/scripts/lib/install
index 24dde24965a..d87f1aa7fdc 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -355,6 +355,10 @@ EOF
crudini --set /etc/zulip/zulip.conf certbot auto_renew yes
fi
+ if [ -n "$POSTGRES_MISSING_DICTIONARIES" ]; then
+ crudini --set /etc/zulip/zulip.conf postgresql missing_dictionaries true
+ fi
+
"$ZULIP_PATH"/scripts/zulip-puppet-apply --force --noop \
--write-catalog-summary \
--classfile=/var/lib/puppet/classes.txt \
@@ -428,10 +432,6 @@ if [ "$DEPLOYMENT_TYPE" = "dockervoyager" ]; then
has_postgres=1
fi
-if [ -n "$POSTGRES_MISSING_DICTIONARIES" ]; then
- crudini --set /etc/zulip/zulip.conf postgresql missing_dictionaries true
-fi
-
# These server restarting bits should be moveable into puppet-land, ideally
if [ "$package_system" = apt ]; then
apt-get -y upgrade