From 3601e9fb6d83c637a9a3017f8ae06def943ca28b Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 30 Sep 2022 11:28:28 +0700 Subject: [PATCH] Update restore --- scripts/restore | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 9687b1c..6960aff 100755 --- a/scripts/restore +++ b/scripts/restore @@ -79,8 +79,13 @@ ynh_systemd_action --action=restart --service_name=fail2ban #================================================= ynh_script_progression --message="Reinstalling dependencies..." --weight=1 -# Define and install dependencies -# ynh_install_app_dependencies $pkg_dependencies +# Install nodejs +ynh_install_nodejs --nodejs_version=$NODEJS_VERSION 2>&1 + +#ynh_install_app_dependencies $pkg_dependencies 2>&1 + +# Install Yarn +ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" 2>&1 #================================================= # RESTORE THE NGINX CONFIGURATION