1
0
Fork 0
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:
Pierre de La Morinerie 2021-10-31 13:05:13 +01:00
parent 6a099f775c
commit 09cc4fbeb1

View file

@ -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