1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Merge pull request #62 from YunoHost-Apps/NoSuchUnit

Move code to avoid a warning during the remove
This commit is contained in:
Kayou 2019-06-18 09:51:53 +02:00 committed by GitHub
commit c3e028a085
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,13 +22,6 @@ peer_port=$(ynh_app_setting_get --app=$app --key=peer_port)
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE TRANSMISSION-DAEMON
#=================================================
ynh_script_progression --message="Removing transmission..." --weight=9
ynh_remove_app_dependencies
#=================================================
# REMOVE SERVICE FROM ADMIN PANEL
#=================================================
@ -40,6 +33,13 @@ then
yunohost service remove transmission-daemon
fi
#=================================================
# REMOVE TRANSMISSION-DAEMON
#=================================================
ynh_script_progression --message="Removing transmission..." --weight=9
ynh_remove_app_dependencies
#=================================================
# CLOSE THE PORTS
#=================================================