From 46ee12f252eb346e4e0c543d076fc1104c1f40f1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 26 Feb 2019 23:14:34 +0100 Subject: [PATCH] Fix removal --- scripts/install | 2 +- scripts/remove | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index d708a64..9ecddf7 100644 --- a/scripts/install +++ b/scripts/install @@ -89,7 +89,7 @@ ynh_app_setting_set $app port $port #================================================= # ADD NODEJS REPOSITORY #================================================= -ynh_print_info "Installing nodejs..." +ynh_print_info "Add nodejs repository..." curl -sL https://deb.nodesource.com/setup_8.x | sudo bash - diff --git a/scripts/remove b/scripts/remove index 2ad8f7b..d79a8cb 100644 --- a/scripts/remove +++ b/scripts/remove @@ -29,7 +29,6 @@ final_path=$(ynh_app_setting_get $app final_path) ynh_print_info "Stopping OnlyOffice" supervisorctl stop all -killall node #================================================= # REMOVE THE POSTGRESQL DATABASE @@ -45,6 +44,7 @@ ynh_psql_remove_db $db_name $db_name ynh_print_info "Removing dependencies" # Remove metapackage and its dependencies +killall node ynh_remove_app_dependencies #=================================================