Skip to content

Commit

Permalink
app-metrics/sql_exporter: fix binary install
Browse files Browse the repository at this point in the history
  • Loading branch information
alip authored and zegeek committed Jan 23, 2025
1 parent 98cf8a7 commit 8911be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-metrics/sql_exporter/sql_exporter-0.16.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ src_compile() {
export GOPATH="${S}"
cd "${S}/src/${EGO_PN}"
echo "compiling from $(pwd)"
go build -o "${S}/bin/sql_exporter"
default
}

src_test() {
Expand All @@ -43,7 +43,7 @@ src_test() {
}

src_install() {
dobin "${S}/bin/sql_exporter"
dobin "${S}/src/${EGO_PN}/sql_exporter"
newinitd "${FILESDIR}/sql_exporter.init.d" sql_exporter
dosym /etc/init.d/sql_exporter /etc/runlevels/default/sql_exporter

Expand Down

0 comments on commit 8911be0

Please sign in to comment.