mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Add upgrade from 0.26 for old package
This commit is contained in:
parent
1cc739b634
commit
cf56314ca2
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port)
|
||||||
turnserver_pwd=$(ynh_app_setting_get $app turnserver_pwd)
|
turnserver_pwd=$(ynh_app_setting_get $app turnserver_pwd)
|
||||||
|
|
||||||
# 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 [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.25") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.24") != 1 ]]
|
if [[ -z $synapse_old_version ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.25") != 1 ]] && [[ $(dpkg -l | grep -c -E "ii.*matrix-synapse.*0.26") != 1 ]]
|
||||||
then
|
then
|
||||||
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."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue