From d8c14cc5feb68cbe18b935ded9bab57545304b3d Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 21 May 2024 11:16:19 -0400 Subject: [PATCH 1/3] Update README.md add Website Terms of Use --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a6ee17d0..b38943ab5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

Proxmox VE Helper-Scripts

- Website | + Website Terms of Use | Contribute | Guides | Changelog | From 2f6ed335755a760e8fc4ff11787200bee80bb560 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 21 May 2024 12:33:57 -0400 Subject: [PATCH 2/3] Update traefik.sh add missing `RELEASE` variable --- ct/traefik.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/traefik.sh b/ct/traefik.sh index 8b393c1e3..84a9d44a2 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -55,6 +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) }') 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 From 7c5f4335fdd339f811bca4b8c49f5c6052245c53 Mon Sep 17 00:00:00 2001 From: Uzurka <101745008+Uzurka@users.noreply.github.com> Date: Wed, 22 May 2024 00:20:26 +0200 Subject: [PATCH 3/3] Discussion #3030 Fix (#3031) --- ct/traefik.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/traefik.sh b/ct/traefik.sh index 84a9d44a2..503d51dce 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -60,7 +60,7 @@ 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 tar -C /tmp -xzf traefik*.tar.gz - mv /tmp/traefik*/traefik /usr/bin/ + mv /tmp/traefik /usr/bin/ rm -rf traefik*.tar.gz msg_ok "Updated $APP LXC" else