Skip to content

Commit fed5ebd

Browse files
authored
Lidarr: Fix RELEASE variable fetching (#7162)
1 parent be4a6f1 commit fed5ebd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ct/lidarr.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ function update_script() {
2828
msg_error "No ${APP} Installation Found!"
2929
exit
3030
fi
31+
if ! command -v jq &>/dev/null; then
32+
$STD apt-get update
33+
$STD apt-get install -y jq
34+
fi
3135

3236
RELEASE=$(curl -fsSL https://api.github.com/repos/Lidarr/Lidarr/releases/latest | jq -r '.tag_name' | sed 's/^v//')
3337
if [[ "${RELEASE}" != "$(cat ~/.lidarr)" ]] || [[ ! -f ~/.lidarr ]]; then

0 commit comments

Comments
 (0)