From c0a96bce9cbaf93229a27ca6e5383c2ff09c8e77 Mon Sep 17 00:00:00 2001 From: "Roberto A. Foglietta" Date: Thu, 22 Sep 2022 22:35:56 +0200 Subject: [PATCH 1/2] bugfix: isar-exclude-docs do not rm man folders anymore bugfix: isar-exclude-docs delete man folders but some packages expect that folders. solution: adopts the same approach used for the doc folder. Signed-off-by: Roberto A. Foglietta --- meta/recipes-support/isar-exclude-docs/files/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/isar-exclude-docs/files/postinst b/meta/recipes-support/isar-exclude-docs/files/postinst index d34c04e..2a758de 100644 --- a/meta/recipes-support/isar-exclude-docs/files/postinst +++ b/meta/recipes-support/isar-exclude-docs/files/postinst @@ -3,5 +3,5 @@ # time and do not need to be "the first" package # what we delete needs to be in sync with the dpkg configuration we ship -rm -rf /usr/share/man/* +find /usr/share/man/ ! -type d -exec rm -rf {} \; find /usr/share/doc/ -type f ! -name "copyright" ! -name "changelog.*" -exec rm -rf {} \; -- 2.30.2