diff --git a/ct/valkey.sh b/ct/valkey.sh index 0829fb3b9..cf6ae8077 100644 --- a/ct/valkey.sh +++ b/ct/valkey.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) -# Copyright (c) 2021-2025 tteck -# Author: tteck (tteckster) +source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +# 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/ @@ -24,13 +24,13 @@ function update_script() { check_container_storage check_container_resources if [[ ! -f /lib/systemd/system/valkey-server.service ]]; then - msg_error "No ${APP} Installation Found!" + msg_error "No Valkey Installation Found!" exit fi - msg_info "Updating $APP LXC" + msg_info "Updating Valkey LXC" $STD apt update $STD apt -y upgrade - msg_ok "Updated $APP LXC" + msg_ok "Updated Valkey LXC" msg_ok "Updated successfully!" exit } @@ -41,5 +41,5 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Access it using the following IP:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}${IP}:6379${CL}" +echo -e "${INFO}${YW} Access it using the following URL:${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:6379${CL}" diff --git a/install/valkey-install.sh b/install/valkey-install.sh index b0d23e573..6ca1f4349 100644 --- a/install/valkey-install.sh +++ b/install/valkey-install.sh @@ -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