Fall back to pip when no pip3 on Python3

This commit is contained in:
Cyryl Płotnicki 2016-11-03 12:03:33 +01:00
parent b8218562a5
commit 70017cf7b7

View file

@ -170,7 +170,8 @@ $SUDO npm install -g reveal-md
echo "Installing fancy differ"
$SUDO npm install -g diff-so-fancy
if [[ -z $NOPYTHON3 ]]; then
pip3_path=`which pip3`
if [[ -z $NOPYTHON3 && -x pip3_path ]]; then
PIP=pip3
else
PIP=pip