From 3c40a990ce8907b2611b723bc9177531b6be6655 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 24 Mar 2025 15:08:32 +0100 Subject: [PATCH] Update qbittorrent-install.sh --- install/qbittorrent-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/qbittorrent-install.sh b/install/qbittorrent-install.sh index bc302dd..adb2355 100644 --- a/install/qbittorrent-install.sh +++ b/install/qbittorrent-install.sh @@ -5,7 +5,7 @@ # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE # Source: https://www.qbittorrent.org/ -source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" color verb_ip6 catch_errors @@ -22,7 +22,7 @@ msg_ok "Installed Dependencies" msg_info "Setup qBittorrent-nox" 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) mkdir -p /opt/qbittorrent curl -fsSL "https://github.com/userdocs/qbittorrent-nox-static/releases/download/${FULLRELEASE}/x86_64-qbittorrent-nox -o /opt/qbittorrent/qbittorrent-nox" chmod +x /opt/qbittorrent/qbittorrent-nox