From: Zac Medico Date: Tue, 12 Jul 2011 18:45:41 +0000 (-0700) Subject: misc-functions.sh: fix incorrect has -o usage X-Git-Tag: v2.2.0_alpha44~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=197ab88070b624296a9779da827fc194df95c32e;p=portage.git misc-functions.sh: fix incorrect has -o usage --- 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 }