diff --git a/functions b/functions index bb51a55fdf..262f70f29f 100644 --- a/functions +++ b/functions @@ -1491,11 +1491,7 @@ function get_rootwrap_location() { # Get the path to the pip command. # get_pip_command function get_pip_command() { - if is_fedora; then - which pip-python - else - which pip - fi + which pip || which pip-python if [ $? -ne 0 ]; then die $LINENO "Unable to find pip; cannot continue"