summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-17 13:10:14 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-17 13:10:14 +0200
commit784f75ee9436d03421f7c71b1ceb36ea011a093b (patch)
treee6ee3a52eb8657c91c4a912c98034c31b370d491
parentcf65c9b41b2020138d751ffdca58530d9009d8f2 (diff)
downloadabuild-784f75ee9436d03421f7c71b1ceb36ea011a093b.tar.gz
abuild-784f75ee9436d03421f7c71b1ceb36ea011a093b.tar.bz2
abuild-784f75ee9436d03421f7c71b1ceb36ea011a093b.tar.xz
abuild-784f75ee9436d03421f7c71b1ceb36ea011a093b.zip
abuild: always check for uncompressed man pages
-rw-r--r--abuild.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/abuild.in b/abuild.in
index 17fae62..7ac5447 100644
--- a/abuild.in
+++ b/abuild.in
@@ -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
- warning "Found /usr/share/man but package name doesn't end with -doc"
-
+ 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