From 496b9bf92ce8ba1a8995bfce0f6f9f8cbee0d49a Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 3 Jul 2024 13:14:12 -0400 Subject: [PATCH] Update traefik.sh hard-code version --- ct/traefik.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/traefik.sh b/ct/traefik.sh index 503d51dc..0da650d1 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -55,7 +55,7 @@ function default_settings() { function update_script() { header_info if [[ ! -f /etc/systemd/system/traefik.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -RELEASE=$(curl -s https://api.github.com/repos/traefik/traefik/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +RELEASE=3.0.4 #$(curl -s https://api.github.com/repos/traefik/traefik/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Updating $APP LXC" if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_amd64.tar.gz