diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-12 11:45:41 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-12 11:45:41 -0700 |
commit | 197ab88070b624296a9779da827fc194df95c32e (patch) | |
tree | ca4e38b2151bf2622838d7376dcb970391b665fa | |
parent | e351a8cbd4d40999642c93af9762253cb9753c4c (diff) | |
download | portage-197ab88070b624296a9779da827fc194df95c32e.tar.gz portage-197ab88070b624296a9779da827fc194df95c32e.tar.bz2 portage-197ab88070b624296a9779da827fc194df95c32e.zip |
misc-functions.sh: fix incorrect has -o usage
-rwxr-xr-x | bin/misc-functions.sh | 2 |
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 } |