modified: install.sh
This commit is contained in:
@ -52,13 +52,14 @@ if sys.version_info < (3, 9):
|
|||||||
" || die "Python 3.9 or higher is required"
|
" || die "Python 3.9 or higher is required"
|
||||||
|
|
||||||
command -v pip3 >/dev/null 2>&1 || \
|
command -v pip3 >/dev/null 2>&1 || \
|
||||||
python3 -m pip --version >/dev/null 2>&1 || \
|
python3 -m pip --version >/dev/null 2>&1 || {
|
||||||
warn "pip not found"
|
warn "pip not found"
|
||||||
echo ""
|
echo ""
|
||||||
echo " On Debian, install it with:"
|
echo " On Debian, install it with:"
|
||||||
echo " apt install pip"
|
echo " apt install pip"
|
||||||
echo ""
|
echo ""
|
||||||
die "pip is required but not installed"
|
die "pip is required but not installed"
|
||||||
|
}
|
||||||
|
|
||||||
success "Dependencies OK"
|
success "Dependencies OK"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user