File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -48,19 +48,6 @@ change_library_paths() {
48
48
fi
49
49
}
50
50
51
- # Add hiredis library
52
- add_hiredis () {
53
- hiredis_url=https://github.com/redis/hiredis/archive/v1.1.0.tar.gz
54
- hiredis_sha=fe6d21741ec7f3fc9df409d921f47dfc73a4d8ff64f4ac6f1d95f951bf7f53d6
55
- sed -Ei.bak -e " s#^ url.*# url \" $hiredis_url \" #" -e " s#^ sha256.*# sha256 \" $hiredis_sha \" #" ${core_repo:? } /Formula/h/hiredis.rb
56
- brew install -s hiredis
57
- lib_dir=" ${brew_prefix:? } " /opt/hiredis/lib
58
- if [ -e " $lib_dir " /libhiredis_ssl.1.1.0.dylib ]; then
59
- sudo ln -sf " $lib_dir " /libhiredis_ssl.1.1.0.dylib " $lib_dir " /libhiredis_ssl.dylib.1.1.0
60
- fi
61
- mv ${core_repo:? } /Formula/h/hiredis.rb.bak ${core_repo:? } /Formula/h/hiredis.rb
62
- }
63
-
64
51
# Add relay dependencies
65
52
add_relay_dependencies () {
66
53
add_extension json
@@ -69,8 +56,7 @@ add_relay_dependencies() {
69
56
if [ " $os " = " Darwin" ]; then
70
57
. " ${0%/* } " /tools/brew.sh
71
58
configure_brew
72
- brew install lz4 zstd concurrencykit
73
- add_hiredis
59
+ brew install lz4 hiredis zstd concurrencykit
74
60
fi
75
61
}
76
62
You can’t perform that action at this time.
0 commit comments