From eba14310ed405c7ccd213f5337cd002ed956ec14 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 16 Feb 2021 16:19:24 +0100 Subject: [PATCH] Update install --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6c61460..c1791b6 100755 --- a/scripts/install +++ b/scripts/install @@ -97,9 +97,11 @@ ynh_system_user_create --username=$app --home_dir=$final_path #================================================= ynh_script_progression --message="tiddlywiki..." --weight=2 +chown -R $app: $final_path + pushd $final_path #$nodejs_path/node $final_path/tiddlywiki mywiki --init server - ynh_exec_as $app env "$ynh_node_load_PATH" $final_path/tiddlywiki mywiki --init server + env "$ynh_node_load_PATH" $final_path/tiddlywiki mywiki --init server popd #=================================================