diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2022-12-26 15:12:10 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2022-12-26 15:12:10 -0800 |
commit | 20fae5eeb8e35dca6354bbbcd4944075b8d91066 (patch) | |
tree | c2b157b8fa4dbf3ade619aa0ca4dc3cc45907ab5 /app-metrics/prometheus-lvm-exporter | |
parent | app-metrics/prometheus-lvm-exporter: quick fix for merged-usr cases (diff) | |
download | gentoo-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.ebuild | 1 |
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 } |