summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-10-20 09:38:09 +0200
committerFabian Groffen <grobian@gentoo.org>2024-10-20 09:38:51 +0200
commit54efad9a55f034469f63bd6fedbc1909bbb87869 (patch)
treebc92264b45c450e63a6ad630b89d677c5c74711d /sys-apps
parentdev-ruby/activesupport: drop 7.1.3.3, 7.1.3.4 (diff)
downloadgentoo-54efad9a55f034469f63bd6fedbc1909bbb87869.tar.gz
gentoo-54efad9a55f034469f63bd6fedbc1909bbb87869.tar.bz2
gentoo-54efad9a55f034469f63bd6fedbc1909bbb87869.zip
sys-apps/flashrom-1.4.0: fix up bash-completion file #941844
Closes: https://bugs.gentoo.org/941844 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/flashrom/flashrom-1.4.0.ebuild6
1 files changed, 5 insertions, 1 deletions
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