summaryrefslogtreecommitdiff
path: root/system/fakeroot/fakeroot.SlackBuild
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2016-11-04 06:13:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-04 06:13:39 +0700
commit731b7baf590ba3751c5f09e048749994d24cc1e7 (patch)
treea47b606ebeb28b5be87c09c4bd6c0a2bb0fc2697 /system/fakeroot/fakeroot.SlackBuild
parentda055788f08760e5ba56ca14fd031e84d5ca0a5e (diff)
downloadslackbuilds-731b7baf590ba3751c5f09e048749994d24cc1e7.tar.gz
system/fakeroot: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fakeroot/fakeroot.SlackBuild')
-rw-r--r--system/fakeroot/fakeroot.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild
index 85cae0239c..ed0dbfb4b7 100644
--- a/system/fakeroot/fakeroot.SlackBuild
+++ b/system/fakeroot/fakeroot.SlackBuild
@@ -87,7 +87,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make DESTDIR=$PKG install-exec
-if [ ${MANPO:-yes} != no ]; then
+if [ -z "$MANPO" -a -x /usr/bin/po4a ] || [ "$MANPO" = yes ]; then
cd doc
po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg
cd ..