From 47357e8bb618b10a8a5dde00c296f49610919088 Mon Sep 17 00:00:00 2001 From: Josue-T Date: Wed, 11 Oct 2017 21:30:57 +0200 Subject: [PATCH] Allow upgrade from synapse 0.23 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 69d28d3..9054140 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -34,7 +34,7 @@ ynh_abort_if_errors if [[ -z $synapse_old_version ]] then # To be sure that the migration is sucessfull we check that the old synapse version is compatible with the synapse_port_db script. - if [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.22") != 1 ]] + if [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.23") != 1 ]] || [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.22") != 1 ]] then ynh_die "Update from this synapse version is not available now. You need to wait for the next update." fi