From: Martin Matuska Date: Sat, 30 Mar 2019 00:26:26 +0000 (+0100) Subject: Cirrus CI - support existing homebrew packages X-Git-Tag: v3.4.0~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=954ff4696af2cab4c81108363915d1123c60b34c;p=thirdparty%2Flibarchive.git Cirrus CI - support existing homebrew packages --- diff --git a/build/ci/cirrus_ci.sh b/build/ci/cirrus_ci.sh index 9db762f97..4def08374 100755 --- a/build/ci/cirrus_ci.sh +++ b/build/ci/cirrus_ci.sh @@ -17,8 +17,11 @@ then elif [ "${UNAME}" = "Darwin" ] then set -x -e - brew update - brew install autoconf automake libtool pkg-config cmake xz lz4 zstd + brew update > /dev/null + for pkg in autoconf automake libtool pkg-config cmake xz lz4 zstd + do + brew list $pkg > /dev/null && brew upgrade $pkg || brew install $pkg + done elif [ "${UNAME}" = "Linux" ] then if [ -f "/etc/debian_version" ]