From 0bd512160662b179f30e197307e3f162e2bfbde4 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Wed, 24 Jan 2024 12:55:00 +0100 Subject: [PATCH] omit=dev also in install script --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 0785a12..f404ce4 100755 --- a/scripts/install +++ b/scripts/install @@ -52,9 +52,9 @@ yunohost service add $app --description="Monitoring tool" --log="/var/log/$app/$ ynh_script_progression --message="Installing $app dependencies..." --weight=7 pushd "$install_dir" - ynh_use_nodejs - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --production - ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist +ynh_use_nodejs +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install --omit=dev +ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm run download-dist popd #=================================================