summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2022-12-26 15:12:10 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2022-12-26 15:12:10 -0800
commit20fae5eeb8e35dca6354bbbcd4944075b8d91066 (patch)
treec2b157b8fa4dbf3ade619aa0ca4dc3cc45907ab5 /app-metrics/prometheus-lvm-exporter
parentapp-metrics/prometheus-lvm-exporter: quick fix for merged-usr cases (diff)
downloadgentoo-20fae5eeb8e35dca6354bbbcd4944075b8d91066.tar.gz
gentoo-20fae5eeb8e35dca6354bbbcd4944075b8d91066.tar.bz2
gentoo-20fae5eeb8e35dca6354bbbcd4944075b8d91066.zip
app-metrics/prometheus-lvm-exporter: ensure default in src_prepare
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'app-metrics/prometheus-lvm-exporter')
-rw-r--r--app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
index 5c2dff9bdaf0..0edb7138c79d 100644
--- a/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
+++ b/app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild
@@ -39,6 +39,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
PATCHES=( )
src_prepare() {
+ default
sed -i -e '/kingpin.Flag.*\<command\>.*/s,/usr/sbin/lvm,/sbin/lvm,g' "${S}"/main.go || die
}