Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster 2f6ed33575
Update traefik.sh
add missing `RELEASE` variable
2024-05-21 12:33:57 -04:00
tteckster d8c14cc5fe
Update README.md
add Website Terms of Use
2024-05-21 11:16:19 -04:00
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<h1 align="center">Proxmox VE Helper-Scripts</h1>
<p align="center">
<a href="https://helper-scripts.com/">Website</a> |
<a href="https://helper-scripts.com/terms-of-use">Website Terms of Use</a> |
<a href="https://github.com/tteck/Proxmox/blob/main/.github/CONTRIBUTING.md">Contribute</a> |
<a href="https://github.com/tteck/Proxmox/blob/main/USER_SUBMITTED_GUIDES.md">Guides</a> |
<a href="https://github.com/tteck/Proxmox/blob/main/CHANGELOG.md">Changelog</a> |

View File

@ -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