Commit 784f75ee authored by Natanael Copa's avatar Natanael Copa

abuild: always check for uncompressed man pages

parent cf65c9b4
...@@ -651,10 +651,10 @@ postcheck() { ...@@ -651,10 +651,10 @@ postcheck() {
warning "Found /usr/share/doc but package name doesn't end with -doc" warning "Found /usr/share/doc but package name doesn't end with -doc"
fi fi
# look for /usr/share/man # look for /usr/share/man
if [ -e "$dir"/usr/share/man ] \ if [ -e "$dir"/usr/share/man ]; then
&& ! is_doc_pkg; then if ! is_doc_pkg; then
warning "Found /usr/share/man but package name doesn't end with -doc" warning "Found /usr/share/man but package name doesn't end with -doc"
fi
# check for uncompressed man pages # check for uncompressed man pages
i=$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir|\t|") i=$(find "$dir"/usr/share/man -name '*.[0-9]' -type f | sed "s|^$dir|\t|")
if [ -n "$i" ]; then if [ -n "$i" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment