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:
parent
5a3f2640de
commit
5bd642ca5c
1 changed files with 7 additions and 7 deletions
|
@ -22,13 +22,6 @@ peer_port=$(ynh_app_setting_get --app=$app --key=peer_port)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD REMOVE
|
# STANDARD REMOVE
|
||||||
#=================================================
|
|
||||||
# REMOVE TRANSMISSION-DAEMON
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Removing transmission..." --weight=9
|
|
||||||
|
|
||||||
ynh_remove_app_dependencies
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE SERVICE FROM ADMIN PANEL
|
# REMOVE SERVICE FROM ADMIN PANEL
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -40,6 +33,13 @@ then
|
||||||
yunohost service remove transmission-daemon
|
yunohost service remove transmission-daemon
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REMOVE TRANSMISSION-DAEMON
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Removing transmission..." --weight=9
|
||||||
|
|
||||||
|
ynh_remove_app_dependencies
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CLOSE THE PORTS
|
# CLOSE THE PORTS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue