From f573a5461c46a62052f2ded08365afe80b6129aa Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 23 Jun 2024 02:45:29 +0200 Subject: [PATCH] fix delete-log-removal autopatch --- autopatches/patches/delete-log-removal/patch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autopatches/patches/delete-log-removal/patch.sh b/autopatches/patches/delete-log-removal/patch.sh index 188fcdd..56dea7e 100644 --- a/autopatches/patches/delete-log-removal/patch.sh +++ b/autopatches/patches/delete-log-removal/patch.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash +sed -E "/# remove logs/d" -i scripts/remove sed -E "/(ynh_secure_remove|ynh_safe_rm|rm).*(\/var\/log\/)/d" -i scripts/remove - -git add scripts/remove