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...)