added pip3 to validation

This commit is contained in:
Alexander Serowy 2021-04-01 13:40:38 +02:00
parent 42fe8583a9
commit 138b0cbac3

View File

@ -64,7 +64,11 @@ install_node_deps () {
}
install_python_deps () {
if [[ -z $(which pip) ]]; then
if [[ -z $(which pip) && $(which pip3) ]]; then
echo "python/pip not installed"
return
fi
sudo python3 -m pip install $@ ]]; then
echo "python/pip not installed"
return
fi