aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-07-12 11:45:41 -0700
committerZac Medico <zmedico@gentoo.org>2011-07-12 11:45:41 -0700
commit197ab88070b624296a9779da827fc194df95c32e (patch)
treeca4e38b2151bf2622838d7376dcb970391b665fa /bin/misc-functions.sh
parentRemove unneeded _unicode_decode for io.StringIO. (diff)
downloadportage-197ab88070b624296a9779da827fc194df95c32e.tar.gz
portage-197ab88070b624296a9779da827fc194df95c32e.tar.bz2
portage-197ab88070b624296a9779da827fc194df95c32e.zip
misc-functions.sh: fix incorrect has -o usage
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
}