Skip to content

Commit 852f34d

Browse files
committed
don't use deprecated brew tap-pin
instead refer to the full package name when installing fixes #266 context: https://brew.sh/2019/04/04/homebrew-2.1.0/ Homebrew/brew#5925
1 parent 841efa0 commit 852f34d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

travis_config.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,10 @@ function pre_build {
9898

9999
echo 'Installing QT4'
100100
brew tap | grep -qxF cartr/qt4 || brew tap cartr/qt4
101-
brew tap --list-pinned | grep -qxF cartr/qt4 || brew tap-pin cartr/qt4
102101
if [ -n "$CACHE_STAGE" ]; then
103-
brew_install_and_cache_within_time_limit qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
102+
brew_install_and_cache_within_time_limit cartr/qt4/qt@4 || { [ $? -gt 1 ] && return 2 || return 0; }
104103
else
105-
brew install qt@4
104+
brew install cartr/qt4/qt@4
106105
fi
107106

108107
echo 'Installing FFmpeg'

0 commit comments

Comments
 (0)