mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-03 03:15:33 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user