fix path
This commit is contained in:
parent
601250feee
commit
b0b7cb790e
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user