From c6ec2fa1bc3edd8035db6923e69e1ecd95cbfa7e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 24 Jun 2021 19:32:08 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 85a09f3..587c10e 100755 --- a/scripts/install +++ b/scripts/install @@ -104,13 +104,13 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2 +#chown -R $app $final_path + pushd $final_path ynh_use_nodejs npm install -g tiddlywiki - env $ynh_node_load_PATH $final_path mynewwiki --init server - popd - -#mkdir $final_path/wiki/tiddlers + ynh_exec_as $app env $ynh_node_load_PATH $final_path mynewwiki --init server +popd #================================================= # SETUP SYSTEMD