From e9bc8a6704e73cc2b691475a30e354a2336338fc Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 5 Jul 2022 15:21:00 +0200 Subject: [PATCH] Allow absence of latest release zip https://github.com/alexbelgium/hassio-addons/issues/380 --- qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh b/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh index 810ba4d84..8274d58b6 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/30-nginx.sh @@ -43,8 +43,7 @@ xargs) || LATEST_RELEASE=$(curl -f -s --retry 5 -L https://api.github.com/repos/ grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | - head -n 1 | -xargs) + head -n 1) [ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"