Address CrazyWolf13 review

This commit is contained in:
pshankinclarke
2025-11-25 17:09:55 -08:00
parent b745fd01b2
commit 03592b9946
2 changed files with 10 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 tteck
# Author: tteck (tteckster)
# Copyright (c) 2021-2025 community-scripts ORG
# Author: pshankinclarke (lazarillo)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://valkey.io/
@@ -13,25 +13,6 @@ setting_up_container
network_check
update_os
msg_info "Installing Dependencies"
$STD apt install -y \
apt-transport-https \
lsb-release
msg_ok "Installed Dependencies"
DEB_VER="$(cat /etc/debian_version)"
if [[ "$DEB_VER" =~ ^([0-9]+) ]]; then
MAJOR="${BASH_REMATCH[1]}"
if (( MAJOR < 13 )); then
msg_error "Unsupported Debian version."
exit 1
fi
else
msg_error "Unable to determine Debian version."
exit 1
fi
msg_info "Installing Valkey"
$STD apt update
$STD apt install -y valkey