summaryrefslogtreecommitdiffstats
path: root/bin/misc-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index a4f103df4..8c191ff8c 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -773,7 +773,7 @@ preinst_mask() {
install_mask "${D}" "${INSTALL_MASK}"
# remove share dir if unnessesary
- if has nodoc $FEATURES -o has noman $FEATURES -o has noinfo $FEATURES; then
+ if has nodoc $FEATURES || has noman $FEATURES || has noinfo $FEATURES; then
rmdir "${D}usr/share" &> /dev/null
fi
}