diff --git a/scripts/install b/scripts/install index 369b635..7782765 100644 --- a/scripts/install +++ b/scripts/install @@ -73,7 +73,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_install_nodejs --nodejs_version=$NODEJS_VERSION @@ -163,9 +163,9 @@ config="$final_path/live/config/runtime.exs" pushd $final_path/live/js ynh_use_nodejs ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)" - sudo -u $app env PATH=$PATH yarn install + ynh_exec_warn_less sudo -u $app env PATH=$PATH yarn install ynh_script_progression --message="Building NodeJS application (this is going to take a while...)" - sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build + ynh_exec_warn_less sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build popd ynh_secure_remove --file="$final_path/live/js" diff --git a/scripts/restore b/scripts/restore index a446d90..61f45e7 100644 --- a/scripts/restore +++ b/scripts/restore @@ -101,7 +101,7 @@ chown -R $app:$app "$datadir" ynh_script_progression --message="Reinstalling dependencies..." # Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_install_nodejs --nodejs_version=$NODEJS_VERSION diff --git a/scripts/upgrade b/scripts/upgrade index 3d29fa8..d247b07 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -221,7 +221,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_install_nodejs --nodejs_version=$NODEJS_VERSION @@ -263,9 +263,9 @@ chown -R $app:$app "$datadir" pushd $final_path/live/js ynh_use_nodejs ynh_script_progression --message="Installing NodeJS dependencies (this is going to take a while...)" - sudo -u $app env PATH=$PATH yarn install + ynh_exec_warn_less sudo -u $app env PATH=$PATH yarn install ynh_script_progression --message="Building NodeJS application (this is going to take a while...)" - sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build + ynh_exec_warn_less sudo -u $app env PATH=$PATH NODE_BUILD_MEMORY=1024 yarn run build sudo -u $app env PATH=$PATH yarn cache clean --all popd