misc-functions.sh: fix incorrect has -o usage
authorZac Medico <zmedico@gentoo.org>
Tue, 12 Jul 2011 18:45:41 +0000 (11:45 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 12 Jul 2011 18:45:41 +0000 (11:45 -0700)
bin/misc-functions.sh

index a4f103df48ef2b9948e20c39ad4903df728adf89..8c191ff8cce1bc9fcf1fcd0f974fdd80bafe2a0a 100755 (executable)
@@ -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
 }