mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
Change progression message order in scripts/remove
Credits: @Salamandar Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com>
This commit is contained in:
parent
8ade60fa3e
commit
2a9dc20131
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,6 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
# REMOVE SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
||||
|
||||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
||||
then
|
||||
|
@ -17,6 +15,8 @@ then
|
|||
yunohost service remove $app
|
||||
fi
|
||||
|
||||
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_remove_systemd_config
|
||||
|
||||
ynh_remove_nginx_config
|
||||
|
|
Loading…
Add table
Reference in a new issue