From e26bb4e0bd3b4ca3de83ac6796edfe822c184408 Mon Sep 17 00:00:00 2001 From: Oliver L <77393143+oliverl-21@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:04:14 +0100 Subject: [PATCH] add update /opt/Traefik_version.txt (#130) the update function didn't update the Traefik_version.txt which it also checked during the run. --- ct/traefik.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/traefik.sh b/ct/traefik.sh index 22dad2d9f..54a6c6fc6 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -63,6 +63,7 @@ if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP} mv /tmp/traefik /usr/bin/ rm -rf traefik*.tar.gz systemctl restart traefik.service + echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated $APP LXC" else msg_ok "No update required. ${APP} is already at ${RELEASE}"