From 09cc4fbeb142e6d3b147022ba8cc519d1a58eef0 Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Sun, 31 Oct 2021 13:05:13 +0100 Subject: [PATCH] upgrade: warn about 6.0 lengthy database migrations --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 00d02f1..867c172 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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