提交 852f34dc 编写于 作者: M Mateusz Bysiek

don't use deprecated brew tap-pin

instead refer to the full package name when installing

fixes https://github.com/skvark/opencv-python/issues/266

context:
https://brew.sh/2019/04/04/homebrew-2.1.0/
https://github.com/Homebrew/brew/pull/5925
上级 841efa0e
......@@ -98,11 +98,10 @@ function pre_build {
echo 'Installing QT4'
brew tap | grep -qxF cartr/qt4 || brew tap cartr/qt4
brew tap --list-pinned | grep -qxF cartr/qt4 || brew tap-pin cartr/qt4
if [ -n "$CACHE_STAGE" ]; then
brew_install_and_cache_within_time_limit qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
brew_install_and_cache_within_time_limit cartr/qt4/qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
else
brew install qt@4
brew install cartr/qt4/qt@4
fi
echo 'Installing FFmpeg'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册