Recognize confetty installed by pip

On some systems, pip install confetty will go to
/usr/local/bin.  Recognize and accept that.
This commit is contained in:
jjohnson2 2015-01-30 17:00:19 -05:00
parent 57f9ca6acf
commit 3cb83b2a19

View File

@ -52,7 +52,7 @@ if [ -n "$2" ]; then
fi
fi
if [ -x "/opt/confluent/bin/confetty" ] || [ -x "/usr/bin/confetty" ]; then
if [ -x "/opt/confluent/bin/confetty" ] || [ -x "/usr/bin/confetty" ] || [ -x "/usr/local/bin/confetty" ]; then
#use confluent
CONFETTY="confetty"
if [ -x "/opt/confluent/bin/confetty" ]; then