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

Move code to avoid a warning during the remove

This commit is contained in:
Kayou 2019-06-03 14:22:01 +02:00 committed by GitHub
parent 5a3f2640de
commit 5bd642ca5c
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
#=================================================