mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
pip
will be installed to /usr/local/bin
. Make sure we can find it.
This commit is contained in:
parent
c3afd17974
commit
8e6b6246dd
1 changed files with 6 additions and 0 deletions
|
@ -6750,6 +6750,12 @@ install_macosx_stable_deps() {
|
|||
install_macosx_git_deps() {
|
||||
install_macosx_stable_deps || return 1
|
||||
|
||||
echo "$PATH" | grep -q /usr/local/bin
|
||||
if [ $? -eq 1 ]; then
|
||||
echowarn "/usr/local/bin was not found in \$PATH. Adding it for the duration of the script execution."
|
||||
export PATH=/usr/local/bin:$PATH
|
||||
fi
|
||||
|
||||
__fetch_url "/tmp/get-pip.py" "https://bootstrap.pypa.io/get-pip.py" || return 1
|
||||
|
||||
if [ -n "$_PY_EXE" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue