From c05a696e448fcb5b00c23cfc5e4ae73379d79265 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Tue, 20 Oct 2020 15:56:19 +0200 Subject: [PATCH] [fix] retrieve actual final_path --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 539f202..bbfde78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Loading installation settings..." --time --weight=1 app=$YNH_APP_INSTANCE_NAME -final_path=/opt/yunohost/$app +final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # CHECK VERSION