1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

All upgrade from 0.24

This commit is contained in:
Josué Tille 2017-10-31 21:34:13 +01:00
parent 7d8bce0bd3
commit fc2fa5c017

View file

@ -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.23") != 1 ]] && [[ $(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.24") != 1 ]]
then
systemctl start matrix-synapse.service
ynh_die "Update from this synapse version is not available now. You need to wait for the next update."