From a4f91a84bad5204f18a9d517b010b2675704088d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 8 May 2021 14:15:17 +0200 Subject: [PATCH] fix --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index bf20eee..f8ce5d7 100644 --- a/scripts/install +++ b/scripts/install @@ -117,8 +117,8 @@ ynh_script_progression --message="Building CodiMD... (this will take some time a pushd "$final_path" || ynh_die ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as --user=$app bin/setup - ynh_exec_warn_less ynh_exec_as --user=$app yarn run build + ynh_exec_warn_less ynh_exec_as $app bin/setup + ynh_exec_warn_less ynh_exec_as $app yarn run build popd || ynh_die #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index ef9d036..c5b9827 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -135,8 +135,8 @@ then pushd "$final_path" || ynh_die ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as --user=$app bin/setup - ynh_exec_warn_less ynh_exec_as --user=$app yarn run build + ynh_exec_warn_less ynh_exec_as $app bin/setup + ynh_exec_warn_less ynh_exec_as $app yarn run build popd || ynh_die fi