diff --git a/scripts/restore b/scripts/restore index 06fd14c..428d3fc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -82,7 +82,7 @@ ynh_use_nodejs #================================================= ynh_script_progression --message="Reinstalling dependencies..." --weight=7 -cd $final_path && ynh_exec_warn_less $ynh_npm install +cd $final_path && ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install #================================================= # RESTORE VARIOUS FILES diff --git a/scripts/upgrade b/scripts/upgrade index 3a81425..a2fb175 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,7 @@ ynh_add_nginx_config ynh_script_progression --message="Upgrading Uptime Kuma dependencies..." --weight=7 pushd "$final_path" - ynh_exec_warn_less $ynh_npm install + ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install popd #=================================================