mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
matrixsynapse: Handle upgrade to 1.12.*
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
6d1c637c1d
commit
0d059b7553
@ -130,9 +130,9 @@ def force_upgrade(helper, packages):
|
|||||||
if 'matrix-synapse' not in packages:
|
if 'matrix-synapse' not in packages:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Allow any lower version to upgrade to 1.8.*
|
# Allow any lower version to upgrade to 1.12.*
|
||||||
package = packages['matrix-synapse']
|
package = packages['matrix-synapse']
|
||||||
if Version(package['new_version']) > Version('1.12~'):
|
if Version(package['new_version']) > Version('1.13~'):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
public_registration_status = get_public_registration_status()
|
public_registration_status = get_public_registration_status()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user