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:
parent
5869156ea9
commit
29df699a63
1 changed files with 8 additions and 0 deletions
|
@ -11,6 +11,14 @@ sudo systemctl stop syncthing@$SYNCUSER.service
|
||||||
sudo yunohost service remove syncthing
|
sudo yunohost service remove syncthing
|
||||||
sudo systemctl disable syncthing@$SYNCUSER.service
|
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
|
# Remove syncthing binairy
|
||||||
sudo apt-get autoremove syncthing -y --purge
|
sudo apt-get autoremove syncthing -y --purge
|
||||||
sudo rm /etc/apt/sources.list.d/syncthing.list
|
sudo rm /etc/apt/sources.list.d/syncthing.list
|
||||||
|
|
Loading…
Add table
Reference in a new issue