From 197ab88070b624296a9779da827fc194df95c32e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 12 Jul 2011 11:45:41 -0700 Subject: misc-functions.sh: fix incorrect has -o usage --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 } -- cgit v1.2.3-1-g7c22