From 138b0cbac3d8798c0201bc7ca72d0192d493c5da Mon Sep 17 00:00:00 2001 From: Alexander Serowy Date: Thu, 1 Apr 2021 13:40:38 +0200 Subject: [PATCH] added pip3 to validation --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 938da78..658e10d 100755 --- a/install.sh +++ b/install.sh @@ -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