From 5d0030e903b4739e6940052af7764d555f6d9c3a 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 --- tools/autopatches/patches/delete-log-removal/patch.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/autopatches/patches/delete-log-removal/patch.sh b/tools/autopatches/patches/delete-log-removal/patch.sh index 188fcdda..56dea7e6 100644 --- a/tools/autopatches/patches/delete-log-removal/patch.sh +++ b/tools/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