From a92f4fe8ee92f8346e0bc76259de3cf2b4429bc6 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Mon, 28 Sep 2020 13:56:29 +0100 Subject: [PATCH] fixes --- script/install | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/script/install b/script/install index 60769bd..2be664b 100644 --- a/script/install +++ b/script/install @@ -188,14 +188,19 @@ then ./miniconda.sh -b -f -p "$path_conda" # rm miniconda.sh + if command -v /usr/local/bin/brew &> /dev/null + then + cd "$path_lib" + mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew + fi # brew install - brew tap cossacklabs/tap - brew install libthemis + /usr/local/bin/brew tap cossacklabs/tap + /usr/local/bin/brew install libthemis # install zbar library - brew install zbar + /usr/local/bin/brew install zbar fi