diff --git a/scripts/_common.sh b/scripts/_common.sh index deddb9c..77741ea 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -10,7 +10,7 @@ nodejs_version=15 # dependencies used by the app -#pkg_dependencies="redis-server" +pkg_dependencies="redis-server" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 732d3a1..d791c7b 100644 --- a/scripts/install +++ b/scripts/install @@ -64,7 +64,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=20 -#ynh_install_app_dependencies $pkg_dependencies +ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version diff --git a/scripts/remove b/scripts/remove index 268fe1e..5506f14 100644 --- a/scripts/remove +++ b/scripts/remove @@ -47,7 +47,7 @@ ynh_remove_systemd_config ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove metapackage and its dependencies -#ynh_remove_app_dependencies +ynh_remove_app_dependencies ynh_remove_nodejs diff --git a/scripts/restore b/scripts/restore index 058b9ab..70bad0f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -77,7 +77,7 @@ chmod +x "$final_path/server/bin/prod.js" ynh_script_progression --message="Reinstalling dependencies..." --weight=7 # Define and install dependencies -#ynh_install_app_dependencies $pkg_dependencies +ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version diff --git a/scripts/upgrade b/scripts/upgrade index 6910e29..bcf15ec 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=18 -#ynh_install_app_dependencies $pkg_dependencies +ynh_install_app_dependencies $pkg_dependencies # Install Nodejs ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version