commit: 54efad9a55f034469f63bd6fedbc1909bbb87869 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Sun Oct 20 07:38:09 2024 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Sun Oct 20 07:38:51 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54efad9a
sys-apps/flashrom-1.4.0: fix up bash-completion file #941844 Closes: https://bugs.gentoo.org/941844 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> sys-apps/flashrom/flashrom-1.4.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys-apps/flashrom/flashrom-1.4.0.ebuild b/sys-apps/flashrom/flashrom-1.4.0.ebuild index de2e49b9ac44..e53e08a3d311 100644 --- a/sys-apps/flashrom/flashrom-1.4.0.ebuild +++ b/sys-apps/flashrom/flashrom-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit meson +inherit meson bash-completion-r1 DESCRIPTION="Utility for reading, writing, erasing and verifying flash ROM chips" HOMEPAGE="https://www.flashrom.org/" @@ -136,6 +136,10 @@ src_install() { # installed tree. find "${ED}" -name '*.a' -delete || die + # bash completion file is not up to standards, #941844 + rm -Rf "${ED}"/usr/share/bash-completion + newbashcomp "${BUILD_DIR}/${PN}.bash" "${PN}" + if use tools; then dosbin "${BUILD_DIR}"/util/ich_descriptors_tool/ich_descriptors_tool fi
