From 2b03bde3c1cd3992def4017d063bbbea5aa98f90 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 21 Nov 2025 10:18:18 +0100 Subject: [PATCH] Use absolute path for go commands in script --- tools/addon/qbittorrent-exporter.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/addon/qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh index c241804b7..56e355d47 100644 --- a/tools/addon/qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -61,9 +61,9 @@ if [[ -f "$INSTALL_PATH" ]]; then fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporter" setup_go cd /opt/qbittorrent-exporter - go get -d -v + /usr/local/bin/go get -d -v cd src - go build -o ./qbittorrent-exporter + /usr/local/bin/go build -o ./qbittorrent-exporter msg_ok "Updated ${APP}" exit 0 else @@ -93,9 +93,9 @@ msg_info "Installing ${APP} on ${OS}" fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporter" setup_go cd /opt/qbittorrent-exporter -go get -d -v +/usr/local/bin/go get -d -v cd src -go build -o ./qbittorrent-exporter +/usr/local/bin/go build -o ./qbittorrent-exporter msg_ok "Installed ${APP}" msg_info "Creating configuration"