File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,19 +44,6 @@ change_library_paths() {
4444 fi
4545}
4646
47- # Add hiredis library
48- add_hiredis_1.1.0 () {
49- hiredis_url=https://github.com/redis/hiredis/archive/v1.1.0.tar.gz
50- hiredis_sha=fe6d21741ec7f3fc9df409d921f47dfc73a4d8ff64f4ac6f1d95f951bf7f53d6
51- sed -Ei.bak -e " s#^ url.*# url \" $hiredis_url \" #" -e " s#^ sha256.*# sha256 \" $hiredis_sha \" #" ${core_repo:? } /Formula/h/hiredis.rb
52- brew install -s hiredis
53- lib_dir=" ${brew_prefix:? } " /opt/hiredis/lib
54- if [ -e " $lib_dir " /libhiredis_ssl.1.1.0.dylib ]; then
55- sudo ln -sf " $lib_dir " /libhiredis_ssl.1.1.0.dylib " $lib_dir " /libhiredis_ssl.dylib.1.1.0
56- fi
57- mv ${core_repo:? } /Formula/h/hiredis.rb.bak ${core_repo:? } /Formula/h/hiredis.rb
58- }
59-
6047# Add relay dependencies
6148add_relay_dependencies () {
6249 add_extension json
@@ -65,12 +52,7 @@ add_relay_dependencies() {
6552 if [ " $os " = " Darwin" ]; then
6653 . " ${0%/* } " /tools/brew.sh
6754 configure_brew
68- if [ " $relay_version " = " v0.7.0" ]; then
69- brew install lz4 zstd concurrencykit
70- add_hiredis_1.1.0 > /dev/null 2>&1
71- else
72- brew install lz4 hiredis zstd concurrencykit
73- fi
55+ brew install lz4 hiredis zstd concurrencykit
7456 fi
7557}
7658
You can’t perform that action at this time.
0 commit comments