From 616bcb5f7d8d64ac54688e6d85f879e07d443c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 8 Jun 2024 21:22:46 +0200 Subject: Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/install') diff --git a/scripts/install b/scripts/install index 9d0505a..a73907c 100755 --- a/scripts/install +++ b/scripts/install @@ -30,10 +30,10 @@ chown -R "$app:www-data" "$install_dir" #================================================= ynh_script_progression --message="Adding $app's configuration files..." --weight=1 -ynh_add_config --template=".env" --destination="$install_dir/.env" +ynh_add_config --template=".env" --destination="$install_dir/apps/web/.env" -chmod 400 "$install_dir/.env" -chown "$app:$app" "$install_dir/.env" +chmod 400 "$install_dir/apps/web/.env" +chown "$app:$app" "$install_dir/apps/web/.env" #================================================= # SYSTEM CONFIGURATION @@ -53,7 +53,7 @@ yunohost service add "$app" --description="A short description of the app" --log #================================================= ynh_script_progression --message="Installing $app..." --weight=1 -pushd $install_dir +pushd $install_dir/apps/web/ ynh_use_nodejs ynh_exec_as $app env $ynh_node_load_PATH yarn ynh_exec_as $app env $ynh_node_load_PATH yarn build -- cgit v1.2.3