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