From 0e7344e153dace21c2d7b4835e72474a56c0147a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 21 Feb 2024 16:23:46 +0100 Subject: [PATCH] Remove the code for yunohost service remove $app, because with https://github.com/YunoHost/yunohost/pull/1779 it will be handled --- scripts/remove | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index 828d42f..0012c01 100755 --- a/scripts/remove +++ b/scripts/remove @@ -25,14 +25,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 -### This should be a symetric version of what happens in the install script - -# 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 - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove "$app" -fi - ynh_remove_fail2ban_config ynh_remove_logrotate