fix: redis-client binary
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
# Install Redis.
|
# Install Redis.
|
||||||
#
|
#
|
||||||
|
|
||||||
if ! command -v redis-client &>/dev/null; then
|
if ! command -v redis-cli &>/dev/null; then
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
redis_keyring_path="/usr/share/keyrings/redis-archive-keyring.gpg"
|
redis_keyring_path="/usr/share/keyrings/redis-archive-keyring.gpg"
|
||||||
if [[ ! -f "$redis_keyring_path" ]]; then
|
if [[ ! -f "$redis_keyring_path" ]]; then
|
||||||
@@ -17,4 +17,6 @@ if ! command -v redis-client &>/dev/null; then
|
|||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
brew install redis
|
brew install redis
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
redis-cli --version
|
||||||
|
|||||||
Reference in New Issue
Block a user