Update go get command to use -d=true flag

This commit is contained in:
Tobias
2025-11-21 11:41:37 +01:00
committed by GitHub
parent a1d000952b
commit 289eacba72

View File

@@ -65,7 +65,7 @@ if [[ -f "$INSTALL_PATH" ]]; then
setup_go
msg_info "Updating ${APP}"
cd /opt/qbittorrent-exporter
/usr/local/bin/go get -d -v
/usr/local/bin/go get -d=true -v
cd src
/usr/local/bin/go build -o ./qbittorrent-exporter
msg_ok "Updated ${APP}"
@@ -98,7 +98,7 @@ fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporte
setup_go
msg_info "Installing ${APP} on ${OS}"
cd /opt/qbittorrent-exporter
/usr/local/bin/go get -d -v
/usr/local/bin/go get -d=true -v
cd src
/usr/local/bin/go build -o ./qbittorrent-exporter
msg_ok "Installed ${APP}"