From 2751468106cf351e37bb6eda76ff1e0f83e0f105 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 5 Jul 2022 10:34:30 +0200 Subject: [PATCH] Only first result https://github.com/alexbelgium/hassio-addons/issues/380 --- qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh b/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh index 6070e6626..ec16aac4e 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh @@ -44,6 +44,7 @@ LATEST_RELEASE=$(curl -f -s --retry 5 -L https://api.github.com/repos/wdaan/vuet grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | + head -n 1 | xargs) [ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"