1
0
Fork 0
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:
Alexander Wühr 2023-12-14 15:45:44 +01:00 committed by GitHub
parent 8ade60fa3e
commit 2a9dc20131
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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