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