diff --git a/ct/backrest.sh b/ct/backrest.sh index 5032aaf..886751c 100644 --- a/ct/backrest.sh +++ b/ct/backrest.sh @@ -27,7 +27,6 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -fsSL https://api.github.com/repos/garethgeorge/backrest/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Stopping ${APP}"