Try to use pip2 instead of pip

This commit is contained in:
Inndy 2016-01-12 16:36:49 +08:00
parent ac26ea54a7
commit 416db4a9b2

View File

@ -1,7 +1,11 @@
#!/bin/bash -e
# default is just pip, but on things like arch where python 3 is default, it's pip2
PIP="pip"
if [ $(which pip2) ]; then
PIP="pip2"
else
PIP="pip"
fi
unamestr=$(uname)
if [[ "$unamestr" == 'Linux' ]]; then