Fixed setup.sh
This commit is contained in:
parent
ebcb530d4f
commit
e606051102
3
setup.sh
3
setup.sh
@ -89,12 +89,13 @@ function updateenv() {
|
|||||||
fi
|
fi
|
||||||
echo "pip install completed"
|
echo "pip install completed"
|
||||||
echo
|
echo
|
||||||
if [[ $dev =~ ^[Yy]$ ]] then
|
if [[ $dev =~ ^[Yy]$ ]]; then
|
||||||
${PYTHON} -m pre-commit install
|
${PYTHON} -m pre-commit install
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed installing pre-commit"
|
echo "Failed installing pre-commit"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install tab lib
|
# Install tab lib
|
||||||
|
Loading…
Reference in New Issue
Block a user