From 99ec88722960e1e3bfb35c4453f834749c12573a Mon Sep 17 00:00:00 2001 From: Uwe <13865709+greenrobot-team@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:09:42 +0200 Subject: [PATCH] install.sh: never install the C library by default --- install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/install.sh b/install.sh index 48793dea..7ca187dd 100755 --- a/install.sh +++ b/install.sh @@ -9,10 +9,4 @@ cLibVersion=4.0.0 os=$(uname) cLibArgs="$*" -# if there's no tty this is probably part of a docker build - therefore we install the c-api explicitly -if [[ "$os" != MINGW* ]] && [[ "$os" != CYGWIN* ]] && [[ "$cLibArgs" != *"--install"* ]]; then - tty -s || cLibArgs="${cLibArgs} --install" -fi - - bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) ${cLibArgs} ${cLibVersion}