projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e351a8c
)
misc-functions.sh: fix incorrect has -o usage
author
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 18:45:41 +0000
(11:45 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Jul 2011 18:45:41 +0000
(11:45 -0700)
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index a4f103df48ef2b9948e20c39ad4903df728adf89..8c191ff8cce1bc9fcf1fcd0f974fdd80bafe2a0a 100755
(executable)
--- 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
}