Avoid installing ta-lib multiple times

This commit is contained in:
Matthias 2019-01-05 19:51:51 +01:00
parent 9e5e485d0a
commit 337ebdeccb

View File

@ -50,6 +50,11 @@ function updateenv () {
# Install tab lib # Install tab lib
function install_talib () { function install_talib () {
if [ -f /usr/local/lib/libta_lib.a ]; then
echo "ta-lib already installed, skipping"
return
fi
cd build_helpers cd build_helpers
tar zxvf ta-lib-0.4.0-src.tar.gz tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib cd ta-lib