fix pip check logic (#807)

This commit is contained in:
Justin Findlay 2016-04-13 14:04:00 -06:00
parent 41e92a3128
commit b2b315bf09

View file

@ -1966,7 +1966,7 @@ __install_pip_deps() {
# Install virtualenv to system pip before activating virtualenv if thats going to be used
# We assume pip pkg is installed since that is distro specific
if [ "$_VIRTUALENV_DIR" != "null" ]; then
if __check_command_exists pip; then
if ! __check_command_exists pip; then
echoerror "Pip not installed: required for -a installs"
exit 1
fi