mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
upgrade: warn about 6.0 lengthy database migrations
This commit is contained in:
parent
6a099f775c
commit
09cc4fbeb1
1 changed files with 2 additions and 2 deletions
|
@ -185,8 +185,8 @@ yunohost service add $app --description="Collaboration platform built for develo
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
# A lengthy database migration runs when upgrading from a version < 5.38.
|
||||
if dpkg --compare-versions "$previous_upstream_version" lt "5.38.0"
|
||||
# A lengthy database migration runs when upgrading from a version < 6.0.
|
||||
if dpkg --compare-versions "$previous_upstream_version" lt "6.0.0"
|
||||
then
|
||||
ynh_print_warn --message="Lengthy database migrations will now run. This may take a while..."
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue