Fall back to pip
when no pip3
on Python3
This commit is contained in:
parent
b8218562a5
commit
70017cf7b7
1 changed files with 2 additions and 1 deletions
|
@ -170,7 +170,8 @@ $SUDO npm install -g reveal-md
|
||||||
echo "Installing fancy differ"
|
echo "Installing fancy differ"
|
||||||
$SUDO npm install -g diff-so-fancy
|
$SUDO npm install -g diff-so-fancy
|
||||||
|
|
||||||
if [[ -z $NOPYTHON3 ]]; then
|
pip3_path=`which pip3`
|
||||||
|
if [[ -z $NOPYTHON3 && -x pip3_path ]]; then
|
||||||
PIP=pip3
|
PIP=pip3
|
||||||
else
|
else
|
||||||
PIP=pip
|
PIP=pip
|
||||||
|
|
Loading…
Reference in a new issue