1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

switch to ynh_remove_app_dependencies

This commit is contained in:
yalh76 2019-04-13 17:09:07 +02:00
parent 5869156ea9
commit 29df699a63

View file

@ -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