Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upgrade-zulip: Simplify PostgreSQL version check.
Alex Vandiver6dc8f748aed2
diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2index 2c6a74e67ac..793eee2e026 100755--- a/scripts/lib/upgrade-zulip-stage-2+++ b/scripts/lib/upgrade-zulip-stage-2@@ -230,7 +230,7 @@ if os.path.exists("/etc/init.d/postgresql"):])- if tuple(map(int, postgresql_version.split("."))) < (12,):+ if int(postgresql_version) < 12:logging.critical("Unsupported PostgreSQL version: %s", postgresql_version)logging.info("Please upgrade to PostgreSQL 12 or newer first.\n"