commit | ac1a6aab2c28fd59b8f5e28ce9811bfdc812fe82 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Tue Aug 15 02:17:27 2017 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Tue Aug 15 02:17:27 2017 +0000 |
tree | 527a26c6aad09ff63f82b65c422709c070d3dbe3 | |
parent | 97cef2feadeb4424d1c62cf2e2d4c360284eff51 [diff] | |
parent | 87d2396d225533aefd8d52bb5fa574ea57dbb987 [diff] |
Merge "Don't uninstall pip packages if OFFLINE=True"
diff --git a/inc/python b/inc/python index f388f48..5e7f742 100644 --- a/inc/python +++ b/inc/python
@@ -346,6 +346,9 @@ } function pip_uninstall { + # Skip uninstall if offline + [[ "${OFFLINE}" = "True" ]] && return + local name=$1 if [[ -n ${PIP_VIRTUAL_ENV:=} && -d ${PIP_VIRTUAL_ENV} ]]; then local cmd_pip=$PIP_VIRTUAL_ENV/bin/pip