From 902569496a548ecb2862237603ffbd56195bee67 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 5 May 2025 12:14:02 +0200 Subject: [PATCH] Update actualbudget.sh --- ct/actualbudget.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index ded3414..5b31640 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -28,20 +28,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -fsSL https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/actualbudget ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - RELEASE=$(curl -fsSL https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') - if [[ -f /opt/actualbudget-data/config.json ]]; then if [[ ! -f /opt/actualbudget_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/actualbudget_version.txt)" ]]; then msg_info "Stopping ${APP}"