File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -99,24 +99,26 @@ function pre_build {
99
99
export HOMEBREW_NO_AUTO_UPDATE=1
100
100
101
101
# after the cache stage, all bottles and Homebrew metadata should be already cached locally
102
- if [ -n " $CACHE_STAGE " ]; then
103<
EDD6
/code>
- brew update
104
- generate_ffmpeg_formula
105
- brew_add_local_bottles
106
- fi
102
+ # if [ -n "$CACHE_STAGE" ]; then
103
+ # brew update
104
+ # generate_ffmpeg_formula
105
+ # brew_add_local_bottles
106
+ # fi
107
107
108
108
echo ' Installing FFmpeg'
109
109
110
- if [ -n " $CACHE_STAGE " ]; then
111
- brew_install_and_cache_within_time_limit ffmpeg_opencv || { [ $? -gt 1 ] && return 2 || return 0; }
112
- else
113
- brew unlink python@2
110
+ # if [ -n "$CACHE_STAGE" ]; then
111
+ # brew_install_and_cache_within_time_limit ffmpeg_opencv || { [ $? -gt 1 ] && return 2 || return 0; }
112
+ # else
113
+ brew update
114
114
generate_ffmpeg_formula
115
+ brew_add_local_bottles
116
+ brew unlink python@2
115
117
brew install ffmpeg_opencv
116
- fi
118
+ # fi
117
119
118
120
# echo 'Installing qt5'
119
-
121
+
120
122
# if [ -n "$CACHE_STAGE" ]; then
121
123
# echo "Qt5 has bottle, no caching needed"
122
124
# else
You can’t perform that action at this time.
0 commit comments