diff --git a/scripts/remove b/scripts/remove index 5ddde0f..d6a8c41 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,26 +1,8 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers -#================================================= -# LOAD SETTINGS -#================================================= - -admin_mail=$(ynh_user_get_info --username=$admin --key="mail") - -#================================================= -# STANDARD REMOVE -#================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST -#================================================= - # 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 @@ -28,6 +10,8 @@ then yunohost service remove $app fi +ynh_script_progression --message="Removing system configurations related to $app..." + # Remove the dedicated systemd config ynh_remove_systemd_config