aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/functions
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/lib/functions')
-rwxr-xr-xbootstrap/vagrant-onap/lib/functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/vagrant-onap/lib/functions b/bootstrap/vagrant-onap/lib/functions
index 7e6ff2e98..eeced5a34 100755
--- a/bootstrap/vagrant-onap/lib/functions
+++ b/bootstrap/vagrant-onap/lib/functions
@@ -129,7 +129,9 @@ function install_python {
# _install_pip() - Install Python Package Manager
function _install_pip {
install_python
- curl -sL https://bootstrap.pypa.io/get-pip.py | python
+ if [ ! -f /usr/local/bin/pip ]; then
+ curl -sL https://bootstrap.pypa.io/get-pip.py | python
+ fi
}
# install_python_package() - Install a python module