From fed5ebd9c85b76eaab7d542d59239779dde620e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Mon, 25 Aug 2025 06:59:01 +0200 Subject: [PATCH] Lidarr: Fix RELEASE variable fetching (#7162) --- ct/lidarr.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ct/lidarr.sh b/ct/lidarr.sh index 74b7e67811..8d232490a1 100644 --- a/ct/lidarr.sh +++ b/ct/lidarr.sh @@ -28,6 +28,10 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + if ! command -v jq &>/dev/null; then + $STD apt-get update + $STD apt-get install -y jq + fi RELEASE=$(curl -fsSL https://api.github.com/repos/Lidarr/Lidarr/releases/latest | jq -r '.tag_name' | sed 's/^v//') if [[ "${RELEASE}" != "$(cat ~/.lidarr)" ]] || [[ ! -f ~/.lidarr ]]; then