From ebb7f73e8f9d6023fd5430e091ea845c49d5817b Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 24 Jan 2025 13:38:31 +0100 Subject: [PATCH] Update actualbudget.sh --- ct/actualbudget.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ct/actualbudget.sh b/ct/actualbudget.sh index 93e2dc67a..c16433931 100644 --- a/ct/actualbudget.sh +++ b/ct/actualbudget.sh @@ -33,13 +33,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - - if ! command -v jq >/dev/null 2>&1; then - echo "Installing jq..." - apt-get install -y jq >/dev/null 2>&1 - echo "Installed jq..." - fi - + RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ ! -f /opt/actualbudget_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/actualbudget_version.txt)" ]]; then msg_info "Stopping ${APP}"