mirror of https://github.com/zulip/zulip.git
upgrade-zulip-from-git: Fix setting postgres_version.
The new logic to set postgres_version when upgrading never wrote the configuration file after making its edit.
This commit is contained in:
parent
5200598a31
commit
60b800b1ac
|
@ -122,6 +122,8 @@ if os.path.exists('/etc/init.d/postgresql'):
|
|||
else:
|
||||
error_desupported_os(vendor, os_version)
|
||||
set_config(config_file, 'postgresql', 'version', postgres_version)
|
||||
with open('/etc/zulip/zulip.conf', 'w') as zulipconf:
|
||||
config_file.write(zulipconf)
|
||||
|
||||
if glob.glob("/usr/share/postgresql/*/extension/tsearch_extras.control"):
|
||||
# Remove legacy tsearch_extras package references
|
||||
|
|
Loading…
Reference in New Issue