abuild: always check for uncompressed man pages

This commit is contained in:
Natanael Copa 2015-08-17 13:10:14 +02:00
parent cf65c9b41b
commit 784f75ee94
1 changed files with 4 additions and 4 deletions

View File

@ -651,10 +651,10 @@ postcheck() {
warning "Found /usr/share/doc but package name doesn't end with -doc"
fi
# look for /usr/share/man
if [ -e "$dir"/usr/share/man ] \
&& ! is_doc_pkg; then
if [ -e "$dir"/usr/share/man ]; then
if ! is_doc_pkg; then
warning "Found /usr/share/man but package name doesn't end with -doc"
fi
# check for uncompressed man pages
i=$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir|\t|")
if [ -n "$i" ]; then