From ba421f8024b85bd5d96d25a9dbf33b87bda61039 Mon Sep 17 00:00:00 2001 From: Andrejus Date: Sat, 31 May 2025 22:47:29 +0100 Subject: [PATCH] fix: redis-client binary --- script/install.d/50-redis.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/install.d/50-redis.sh b/script/install.d/50-redis.sh index 2337934..1bf3a3a 100644 --- a/script/install.d/50-redis.sh +++ b/script/install.d/50-redis.sh @@ -5,7 +5,7 @@ # Install Redis. # -if ! command -v redis-client &>/dev/null; then +if ! command -v redis-cli &>/dev/null; then if [[ "$OSTYPE" == "linux-gnu"* ]]; then redis_keyring_path="/usr/share/keyrings/redis-archive-keyring.gpg" if [[ ! -f "$redis_keyring_path" ]]; then @@ -17,4 +17,6 @@ if ! command -v redis-client &>/dev/null; then elif [[ "$OSTYPE" == "darwin"* ]]; then brew install redis fi -fi \ No newline at end of file +fi + +redis-cli --version