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.

install: Pin new apt-based installs to the latest postgresql.

Alex Vandiver49a7a6600485
diff --git a/scripts/lib/install b/scripts/lib/install
index 39a07a7903f..8bef0a2a4e0 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -292,6 +292,18 @@ EOF
auto_renew = yes
EOF
fi
+
+ if [ -e "/etc/init.d/postgresql" ]; then
+ case " $os_id $os_id_like " in
+ *' debian '*)
+ cat <<EOF
+
+[postgresql]
+version = 12
+EOF
+ ;;
+ esac
+ fi
) > /etc/zulip/zulip.conf
case ",$PUPPET_CLASSES," in