From ea875a4c64339ce057d1c0faf64d99d01649c828 Mon Sep 17 00:00:00 2001 From: Pierluigi Cau Date: Sat, 21 Aug 2021 06:21:05 +0000 Subject: [PATCH 1/2] Try to fix issue with datadir --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c030df1..61ad29d 100644 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -datadir=/home/yunohost.app/$app +# datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir From 7bf2a7ca777c3b05a577147ed4126386033ba9cf Mon Sep 17 00:00:00 2001 From: Pierluigi Cau Date: Sat, 21 Aug 2021 06:28:31 +0000 Subject: [PATCH 2/2] No need to redeclare datadir --- scripts/install | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install b/scripts/install index 61ad29d..8048444 100644 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,6 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Creating a data directory..." -# datadir=/home/yunohost.app/$app ynh_app_setting_set --app=$app --key=datadir --value=$datadir mkdir -p $datadir