From 337ebdeccb02fc75bdd4b0c92ddf02129c84afee Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 5 Jan 2019 19:51:51 +0100 Subject: [PATCH] Avoid installing ta-lib multiple times --- setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.sh b/setup.sh index f2ebb7009..3ab013250 100755 --- a/setup.sh +++ b/setup.sh @@ -50,6 +50,11 @@ function updateenv () { # Install tab lib function install_talib () { + if [ -f /usr/local/lib/libta_lib.a ]; then + echo "ta-lib already installed, skipping" + return + fi + cd build_helpers tar zxvf ta-lib-0.4.0-src.tar.gz cd ta-lib