From f8589544d5a16d75b5f8f57c3bbae14492699e7d Mon Sep 17 00:00:00 2001 From: Pierre de La Morinerie Date: Tue, 17 Aug 2021 15:46:13 -0500 Subject: [PATCH] scripts: warn about lengthy migrations when upgrading to 5.38.0 The release notes of the 5.38.0 version mention two lengthy database migrations. Make sure users are told what is going on, so that they don't think the upgrade failed. --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 38e0478..486e0e1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,10 +194,10 @@ 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.35. -if dpkg --compare-versions "$previous_upstream_version" lt "5.35.0" +# A lengthy database migration runs when upgrading from a version < 5.38. +if dpkg --compare-versions "$previous_upstream_version" lt "5.38.0" then - ynh_print_warn --message="A database migration will now run. This may take a while..." + ynh_print_warn --message="Lengthy database migrations will now run. This may take a while..." fi # Start a systemd service