From d128c33594b8c116ed39104cbd356d7b29724a82 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 11 Jul 2017 19:01:06 +0200 Subject: [PATCH] [fix] remove dependencies --- scripts/remove | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 450ed9d..62408cd 100644 --- a/scripts/remove +++ b/scripts/remove @@ -33,6 +33,7 @@ ynh_system_user_delete $app sudo systemctl reload nginx # Remove app dependencies -if ynh_package_is_installed "$DEPS_PKG_NAME"; then - ynh_package_autoremove "$DEPS_PKG_NAME" -fi +ynh_remove_app_dependencies +# The following command is kept as a matter of transition with the previous way +# of managing dependencies +ynh_package_autoremove "php-net-ldap3" || true \ No newline at end of file