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