From fc27534bfa6100f3c05b5557af34d78f3e2e5b26 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Thu, 22 Feb 2024 21:21:43 +0100 Subject: [PATCH] =?UTF-8?q?zblerg=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 8bb4217..4316f33 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Installing Ruby and NodeJS..." --weight=1 ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION -ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION #================================================= # ADD SWAP IF NEEDED diff --git a/scripts/restore b/scripts/restore index 07301d0..b2528a0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -55,7 +55,7 @@ ynh_add_swap --size=$swap_needed ynh_script_progression --message="Reinstalling Ruby and NodeJS..." --weight=1 ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION -ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_script_progression --message="Installing Yarn dependencies..." --weight=10 diff --git a/scripts/upgrade b/scripts/upgrade index 9b7a9f3..48797b7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -155,7 +155,7 @@ ynh_add_swap --size=$swap_needed ynh_script_progression --message="Upgrading Ruby and NodeJS..." --weight=1 ynh_exec_warn_less ynh_install_ruby --ruby_version=$RUBY_VERSION -ynh_exec_warn_less ynh_install_nodejs --NODEJS_VERSION=$NODEJS_VERSION +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$NODEJS_VERSION #================================================= # "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)