diff --git a/scripts/upgrade b/scripts/upgrade index 07f9da9..a190244 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -240,8 +240,6 @@ chown $app:$app "$final_path/config/local-production.json" #================================================= ynh_script_progression --message="Building Yarn dependencies..." -chown -R "$app":"$app" $final_path - pushd "$final_path" ynh_use_nodejs ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --production --pure-lockfile