From 29df699a6392ce740c498c57fc107c6c18319cf8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Apr 2019 17:09:07 +0200 Subject: [PATCH] switch to ynh_remove_app_dependencies --- scripts/remove | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/remove b/scripts/remove index 8644d4e..ef1be5a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -11,6 +11,14 @@ sudo systemctl stop syncthing@$SYNCUSER.service sudo yunohost service remove syncthing sudo systemctl disable syncthing@$SYNCUSER.service +#================================================= +# REMOVE DEPENDENCIES +#================================================= +ynh_print_info "Removing dependencies" + +# Remove metapackage and its dependencies +ynh_remove_app_dependencies + # Remove syncthing binairy sudo apt-get autoremove syncthing -y --purge sudo rm /etc/apt/sources.list.d/syncthing.list