From 64c131e7bb50876c7be4aa0eac7129fb97cabe21 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 9369d1b..cbb94fe 100755 --- a/scripts/remove +++ b/scripts/remove @@ -27,14 +27,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