Skip to content

Commit 9cf252c

Browse files
authored
remove more 0.7.0 logic
1 parent aa0de43 commit 9cf252c

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

src/scripts/extensions/relay.sh

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff 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
6148
add_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

0 commit comments

Comments
 (0)