fix std
This commit is contained in:
parent
edfab001af
commit
11c20e39da
@ -58,7 +58,7 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
|||||||
setup_go
|
setup_go
|
||||||
msg_info "Updating pihole-exporter"
|
msg_info "Updating pihole-exporter"
|
||||||
cd /opt/pihole-exporter/
|
cd /opt/pihole-exporter/
|
||||||
/usr/local/bin/go build -o ./pihole-exporter
|
$STD /usr/local/bin/go build -o ./pihole-exporter
|
||||||
msg_ok "Updated Successfully!"
|
msg_ok "Updated Successfully!"
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
@ -93,7 +93,7 @@ fetch_and_deploy_gh_release "pihole-exporter" "eko/pihole-exporter" "tarball" "l
|
|||||||
setup_go
|
setup_go
|
||||||
msg_info "Installing pihole-exporter on ${OS}"
|
msg_info "Installing pihole-exporter on ${OS}"
|
||||||
cd /opt/pihole-exporter/
|
cd /opt/pihole-exporter/
|
||||||
/usr/local/bin/go build -o ./pihole-exporter
|
$STD /usr/local/bin/go build -o ./pihole-exporter
|
||||||
msg_ok "Installed pihole-exporter"
|
msg_ok "Installed pihole-exporter"
|
||||||
|
|
||||||
msg_info "Creating configuration"
|
msg_info "Creating configuration"
|
||||||
|
|||||||
@ -58,7 +58,7 @@ if [[ -f "$INSTALL_PATH" ]]; then
|
|||||||
setup_go
|
setup_go
|
||||||
msg_info "Updating qbittorrent-exporter"
|
msg_info "Updating qbittorrent-exporter"
|
||||||
cd /opt/qbittorrent-exporter/src
|
cd /opt/qbittorrent-exporter/src
|
||||||
/usr/local/bin/go build -o ./qbittorrent-exporter
|
$STD /usr/local/bin/go build -o ./qbittorrent-exporter
|
||||||
msg_ok "Updated Successfully!"
|
msg_ok "Updated Successfully!"
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
@ -90,7 +90,7 @@ fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporte
|
|||||||
setup_go
|
setup_go
|
||||||
msg_info "Installing qbittorrent-exporter on ${OS}"
|
msg_info "Installing qbittorrent-exporter on ${OS}"
|
||||||
cd /opt/qbittorrent-exporter/src
|
cd /opt/qbittorrent-exporter/src
|
||||||
/usr/local/bin/go build -o ./qbittorrent-exporter
|
$STD /usr/local/bin/go build -o ./qbittorrent-exporter
|
||||||
msg_ok "Installed qbittorrent-exporter"
|
msg_ok "Installed qbittorrent-exporter"
|
||||||
|
|
||||||
msg_info "Creating configuration"
|
msg_info "Creating configuration"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user