1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-05-10 13:23:08 +00:00

add setup_uv

This commit is contained in:
CanbiZ 2025-05-04 10:41:59 +02:00 committed by GitHub
parent ea9f91036e
commit 130031e4f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
setup_uv
RELEASE=$(curl -fsSL https://api.github.com/repos/sabnzbd/sabnzbd/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
if [[ -f /opt/${APP}_version.txt ]] && [[ "${RELEASE}" == "$(cat /opt/${APP}_version.txt)" ]]; then
msg_ok "No update required. ${APP} is already at ${RELEASE}"