From 0dd6cc5e6d8af2ebef64fb181371dffade51668d Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Tue, 23 Sep 2014 15:43:11 +0000 Subject: [PATCH] hooks/remove-localized-manpages: whitelist all sections --- common/hooks/post-install/01-remove-localized-manpages.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/hooks/post-install/01-remove-localized-manpages.sh b/common/hooks/post-install/01-remove-localized-manpages.sh index af487d473f..bee8d9d84e 100644 --- a/common/hooks/post-install/01-remove-localized-manpages.sh +++ b/common/hooks/post-install/01-remove-localized-manpages.sh @@ -9,7 +9,9 @@ hook() { fi case ${section} in - ${mandir}/man?) + ${mandir}/man[0-9n]|${mandir}/man[013][fp]) + continue;; + ${mandir}/cat[0-9n]|${mandir}/cat[013][fp]) continue;; esac