mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Block migration while upgrade script is broken
This commit is contained in:
parent
95e4a86f80
commit
ea94ec5bce
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ ynh_abort_if_errors
|
||||||
|
|
||||||
if [[ -z $synapse_old_version ]]
|
if [[ -z $synapse_old_version ]]
|
||||||
then
|
then
|
||||||
# ynh_die "Update from this version is not available now. You need to wait for the next update."
|
# 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 ]]
|
||||||
|
then
|
||||||
|
ynh_die "Update from this synapse version is not available now. You need to wait for the next update."
|
||||||
|
fi
|
||||||
|
|
||||||
## We move from debian package to new package with python virtualenv
|
## We move from debian package to new package with python virtualenv
|
||||||
# Change settings
|
# Change settings
|
||||||
|
|
Loading…
Reference in a new issue