Discussion #3030 Fix (#3031)

This commit is contained in:
Uzurka 2024-05-22 00:20:26 +02:00 committed by GitHub
parent 2f6ed33575
commit 7c5f4335fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ msg_info "Updating $APP LXC"
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then 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 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 tar -C /tmp -xzf traefik*.tar.gz
mv /tmp/traefik*/traefik /usr/bin/ mv /tmp/traefik /usr/bin/
rm -rf traefik*.tar.gz rm -rf traefik*.tar.gz
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
else else