This commit is contained in:
Tobias 2025-12-17 20:53:21 +01:00
parent 601250feee
commit b0b7cb790e

View File

@ -77,8 +77,8 @@ function update() {
setup_go setup_go
msg_info "Building qBittorrent-Exporter" msg_info "Building qBittorrent-Exporter"
cd /opt/qbittorrent-exporter/src cd /opt/qbittorrent-exporter
$STD /usr/local/bin/go build -o ../qbittorrent-exporter $STD /usr/local/bin/go build -o ./qbittorrent-exporter
msg_ok "Built qBittorrent-Exporter" msg_ok "Built qBittorrent-Exporter"
msg_info "Starting service" msg_info "Starting service"
@ -105,8 +105,8 @@ function install() {
fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporter" "tarball" "latest" fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporter" "tarball" "latest"
setup_go setup_go
msg_info "Building qBittorrent-Exporter on ${OS}" msg_info "Building qBittorrent-Exporter on ${OS}"
cd /opt/qbittorrent-exporter/src cd /opt/qbittorrent-exporter
$STD /usr/local/bin/go build -o ../qbittorrent-exporter $STD /usr/local/bin/go build -o ./qbittorrent-exporter
msg_ok "Built qBittorrent-Exporter" msg_ok "Built qBittorrent-Exporter"
msg_info "Creating configuration" msg_info "Creating configuration"