From b2b315bf094df010f3894080cd2509251d897294 Mon Sep 17 00:00:00 2001 From: Justin Findlay Date: Wed, 13 Apr 2016 14:04:00 -0600 Subject: [PATCH] fix pip check logic (#807) --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index ff6d30b..5f0f916 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -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