From 4b07b7e2691e09cb9a030f657dd1af557ac29997 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 25 Oct 2021 01:39:26 +0200 Subject: [PATCH] Typo in datadir definition in upgrade.. --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index ba496e9..9deb2dd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -66,8 +66,8 @@ fi # If datadir doesn't exist, create it if [ -z "$datadir" ]; then - final_path=/home/yunohost.app/$app - ynh_app_setting_set --app=$app --key=final_path --value=$datadir + datadir=/home/yunohost.app/$app + ynh_app_setting_set --app=$app --key=datadir --value=$datadir fi # Cleaning legacy permissions