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:
parent
7d8bce0bd3
commit
fc2fa5c017
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ ynh_abort_if_errors
|
||||||
if [[ -z $synapse_old_version ]]
|
if [[ -z $synapse_old_version ]]
|
||||||
then
|
then
|
||||||
# To be sure that the migration is sucessfull we check that the old synapse version is compatible with the synapse_port_db script.
|
# 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
|
then
|
||||||
systemctl start matrix-synapse.service
|
systemctl start matrix-synapse.service
|
||||||
ynh_die "Update from this synapse version is not available now. You need to wait for the next update."
|
ynh_die "Update from this synapse version is not available now. You need to wait for the next update."
|
||||||
|
|
Loading…
Reference in a new issue