From 20fae5eeb8e35dca6354bbbcd4944075b8d91066 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 26 Dec 2022 15:12:10 -0800 Subject: app-metrics/prometheus-lvm-exporter: ensure default in src_prepare Signed-off-by: Robin H. Johnson --- app-metrics/prometheus-lvm-exporter/prometheus-lvm-exporter-0.3.2.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'app-metrics/prometheus-lvm-exporter') 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.*\.*/s,/usr/sbin/lvm,/sbin/lvm,g' "${S}"/main.go || die } -- cgit v1.2.3-65-gdbad