Fixed setup.sh

This commit is contained in:
RafaelDorigo 2022-04-09 11:53:47 +02:00
parent ebcb530d4f
commit e606051102
1 changed files with 2 additions and 1 deletions

View File

@ -89,12 +89,13 @@ function updateenv() {
fi
echo "pip install completed"
echo
if [[ $dev =~ ^[Yy]$ ]] then
if [[ $dev =~ ^[Yy]$ ]]; then
${PYTHON} -m pre-commit install
if [ $? -ne 0 ]; then
echo "Failed installing pre-commit"
exit 1
fi
fi
}
# Install tab lib