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
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}"

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