From d1ccc3322cb28fbf2ffdb5e2c5f8f2d7f84acec4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 6 Mar 2019 05:39:46 +0100 Subject: [PATCH] upgrade to nodejs 8.14.1 --- 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 a732f08..9dff508 100755 --- a/scripts/install +++ b/scripts/install @@ -100,7 +100,7 @@ ynh_print_info "Installing dependencies..." ### - And the section "UPGRADE DEPENDENCIES" in the upgrade script ynh_print_info "Installing nodejs ..." -ynh_install_nodejs 8.15.1 +ynh_install_nodejs 8.14.1 ynh_print_info "Installing mongodb dependencies ..." ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/restore b/scripts/restore index eeba563..1719c53 100644 --- a/scripts/restore +++ b/scripts/restore @@ -85,7 +85,7 @@ find "$final_path" -type d -print0 | xargs -0 chmod 750 ynh_print_info "Reinstalling dependencies..." # Define and install dependencies -ynh_install_nodejs 8.15.1 +ynh_install_nodejs 8.14.1 # Install mongodb ynh_install_app_dependencies "mongodb mongodb-server" diff --git a/scripts/upgrade b/scripts/upgrade index 0a9990f..fb7948c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ fi if ynh_version_gt "0.77-2" "${previous_version}" ; then ynh_remove_nodejs - ynh_install_nodejs 8.15.1 + ynh_install_nodejs 8.14.1 ynh_use_nodejs # Create a dedicated systemd config ynh_replace_string "__ENV_PATH__" "$nodejs_path" "../conf/systemd.service"