From b477c13f86938b2264a1fa38f33c08e4d34fc458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 18 Feb 2023 15:05:32 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 069e44d..5baeb05 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,6 +11,14 @@ source /usr/share/yunohost/helpers upgrade_type=$(ynh_check_app_version_changed) +#================================================= +# LOAD SETTINGS +#================================================= + +fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint) +fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage) +fpm_free_footprint=$(ynh_app_setting_get --app=$app --key=fpm_free_footprint) + #================================================= # ENSURE DOWNWARD COMPATIBILITY #=================================================