From 542ae1c6cfb27d7102019f57587df500f832b6a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= Date: Sun, 23 Mar 2025 11:34:29 +0100 Subject: [PATCH] Update qbittorrent.sh --- ct/qbittorrent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/qbittorrent.sh b/ct/qbittorrent.sh index 1570e13..9dcbc02 100644 --- a/ct/qbittorrent.sh +++ b/ct/qbittorrent.sh @@ -35,7 +35,7 @@ function update_script() { sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service fi FULLRELEASE=$(curl -s https://api.github.com/repos/userdocs/qbittorrent-nox-static/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - RELEASE=$(echo $RELEASE | cut -c 9-13) + RELEASE=$(echo $FULLRELEASE | cut -c 9-13) if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Stopping Service" systemctl stop qbittorrent-nox