| ... | ... |
@@ -1491,11 +1491,7 @@ function get_rootwrap_location() {
|
| 1491 | 1491 |
# Get the path to the pip command. |
| 1492 | 1492 |
# get_pip_command |
| 1493 | 1493 |
function get_pip_command() {
|
| 1494 |
- if is_fedora; then |
|
| 1495 |
- which pip-python |
|
| 1496 |
- else |
|
| 1497 |
- which pip |
|
| 1498 |
- fi |
|
| 1494 |
+ which pip || which pip-python |
|
| 1499 | 1495 |
|
| 1500 | 1496 |
if [ $? -ne 0 ]; then |
| 1501 | 1497 |
die $LINENO "Unable to find pip; cannot continue" |